lua-users home
lua-l archive

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

Am 20.07.2018 um 20:42 schrieb Luiz Henrique de Figueiredo:
See also

That is quite interesting. But this solution (if I understand it correctly)
depends on a Lua function declared somewhere else. So Lua files now depend
on each other at parse time. Currently you can parse each Lua file by
That code was just a prof-of-concept to show a general solution. You
can simplify it a lot by freezing a specific policy into the parser,
as I did earlier in this thread, raising an error for untagged
globals. You'd have a modified Lua interpreter but it would be uniform
for all your scripts.

I will consider it if I ever embedd another version of Lua (I am currently at 5.2). The thing is, I try to stay as close to vanilla Lua as possible.
So I am almost as conservative in adding extra features as the Lua team is ;-)