lua-users home
lua-l archive

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

> 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
> itself.

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.