lua-users home
lua-l archive

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


On Tue, 4 Jun 2019 at 14:35, Oliver Kroth <oliver.kroth@nec-i.de> wrote:

> what about another approach to the 'no special character, but no new
> keyword' problem?
> We could use a function call:
>
> local x = const( 5 )
> local f = toclose( ... )
>

I think the toclose feature uses upvalues which are setup at compile
time, so this may not be feasible. I wish it was though as using
library functions would be nice.

Regards
Dibyendu