[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: [Q] simple translator from Lua to Java Script and PHP
- From: "V S P" <toreason@...>
- Date: Thu, 30 Oct 2008 16:21:51 -0400
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 :-) ).
I had difficulties about a month ago getting it to
work on windows (I compiled with VS 2005), you mentioned at the time
that you are working on the improved version (as far as
installation/compilation at least). Did you get at least some of your
On Thu, 30 Oct 2008 20:56:24 +0100, "Fabien" <firstname.lastname@example.org>
> As lhf wrote, you probably need to analyze your code at source / AST
> and the lua compiler won't produce that representation for you. You
> need metalua for that: it'll present the source as a browsable and
> manipulable tree.
> There's a learning curve to overcome (metalua's original main purpose
> limited to AST production), but it would take longer to debug your own
> parser than to rely on an existing one, that comes with many code
> -- Fabien.
V S P
http://www.fastmail.fm - Access all of your messages and folders
wherever you are