>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