[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua 5 Grammar update
- From: Asger Alstrup <aalstrup@...>
- Date: Tue, 02 Aug 2005 10:20:35 +0200
Klaas-Jan Stol wrote:
But, because my goal is to write a compiler, not an
interpreter, it's not a really big issue. (the goal is to get lua
running on parrot)
I can only recommend Gentle (http://gentle.compilertools.net/), which is a
compiler construction kit. There is a Lua grammar in the Lua2js project for
Gentle:
http://luaforge.net/projects/lua2js/
Finally, you should also check out Rats!, which is another compiler
construction kit as part of XTC:
http://www.cs.nyu.edu/rgrimm/xtc/rats.html
Using a full compiler construction kit surely beats writing your own
compiler using only a parser and a lexer.
Regards,
Asger Ottar Alstrup