If you're simply talking about parsing some Lua code to see what functions are globals, I would say this is almost trivial in Lua. You can use Leg to get this info quite easily. wes