lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


20.06.2019, 07:40, "Egor Skriptunoff" <egor.skriptunoff@gmail.com>:
>>  local (x scoped), (y const), (z const alias) = a, b, c

>  From aesthetic point of view, it looks more pleasant than other
>  possible syntax such as <const>, @const and :const.

why not
local [x scoped], [y const], ...
?

what about an annotation syntax that looks like a comment as in - say -
--@==...==@ attribute arg1 arg2 arg3 ... @==...==@
akin to the
--[==...==[ ... ]==...==]
comments ?

or is there a good reason to use - say - "$==...==$" to close those
(as seen in "]==...==]") ?