lua-users home
lua-l archive

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


V S P wrote:
thank you, I was thinking after I typed my question,
that metalua would be excellent for this, but has a learning
curve (I think in 2-3 days with your help I will get a prototype
going :-) ).
[snip]

On Thu, 30 Oct 2008 20:56:24 +0100, "Fabien" <fleutot+lua@gmail.com>
said:
As lhf wrote, you probably need to analyze your code at source / AST
level,
and the lua compiler won't produce that representation for you. You
probably
need metalua for that: it'll present the source as a browsable and
manipulable tree.

As an aside, there's a pretty complete list at:
http://lua-users.org/wiki/LuaGrammar

--
Cheers,
Kein-Hong Man (esq.)
Kuala Lumpur, Malaysia