/julieta

An implementation of the Monkey language in Lua

Primary LanguageLuaApache License 2.0Apache-2.0

Julieta

Lua implementation of the Monkey Language

Julieta has many sibling implementations.

Status

The book (Writing An Interpreter In Go) is fully implemented. Julieta will not have a compiler implementation

Commands

Before running the tests you must install busted from LuaRocks

luarocks install busted
Script Description
./tests.sh Run tests
lua benchmarks.lua Run the classic monkey benchmark (fibonacci(35))
lua repl.lua Run the Julieta REPL

You can run the benchmarks and repl files with either Lua or LuaJit. I didn't try any other Lua interpreter

Acknowlegments

Julieta uses the lua-oo library from Daniel Lima