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.