lua-users home
lua-l archive

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


>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.
--lhf