lua-users home
lua-l archive

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


>Is there any way to evaluate a script and obtain a list of its defined
>variables without fully executing the script or writing my own parsing
>engine?

Parse the output of luac -l. See test/globals.lua in the official distribution.
--lhf