lua-users home
lua-l archive

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


> -----Original Message-----
> From: Luiz Henrique de Figueiredo [mailto:lhf@tecgraf.puc-rio.br]
> Sent: Wednesday, August 18, 1999 2:34 PM
> To: Multiple recipients of list
> Subject: Re: evolutionary programming & Lua
> 
> 
> >From lua-l@tecgraf.puc-rio.br Wed Aug 18 16:28:26 1999
> >From: Steve Dekorte <steve@dekorte.com>
> 
> >It would be cool if Lua held the parse tree of compiled code and had
> >an API for manipulating it.
> 
> If you're only interested in arithmetic expressions, then you 
> can play a game with tag methods to get a postfix representation 
> of the expressions, as described in our SPE paper and in the 
> seminar slides page.

How hard would it be for someone to add "support" for read-only access
to the parse tree into the C API?  i.e. any pointers on where to look
in the code?

Paul