lolcode.lua is a LOLCode-to-Lua translator written in Lua using the LPeg parser library.

It's close to rec-1.0, a few things are still missing, see http://www.casiello.net/lolcode/lolcode.lua

It can run as a straight translator:

lua lolcode.lua example.lol -o example.lua

or run the translated code:

lua lolcode.lua example.lol -r

or both:

lua lolcode.lua example.lol -o example.lua -r

You'll need lua 5.1 (http://www.lua.org/) and LPeg 0.6 (http://www.inf.puc-rio.br/~roberto/lpeg.html) in order to run lolcode.lua.

Let me know what you think!

implementations/lua-translator.txt · Last modified: 2007/06/20 01:30 by bcasiello
Recent changes RSS feed Creative Commons License Donate Driven by DokuWiki