lua-users home
lua-l archive

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


> I have an application in which users write code that
> we need to parse to find the variable names that they
> are using. Has anyone written code to get the compiler
> to export its symbol table?

Which compiler? Lua or C or something else?
If it's Lua, it's simple to parse luac -l output or use lbci,
my bytecode inspector library:
	http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/#lbci