lua-users home
lua-l archive

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


--- Luiz Henrique de Figueiredo
<lhf@tecgraf.puc-rio.br> wrote:

> > 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?

Oops, sorry. Lua.

> 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

I'll take a look at those right away. Thanks!