lua-users home
lua-l archive

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


On Sat, Jul 13, 2019 at 1:53 PM Viacheslav Usov wrote:
to make things a little less verbose in typical use cases, we could consider a syntax like 
[a. b, c]
that introduces a white list of names, which can appear anywhere a new block (of Lua's grammar) begins


May be the syntax should be more verbose (to correspond to overall language look-and-feel)?
   @visible(x, y)
Such annotation might appear even in the middle of a Lua's grammar block
(it is active from the line where it is defined to the end of the current block)