MarioAriasC / julieta

An implementation of the Monkey language in Lua

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

An implementation of the Monkey language in Lua

License:Apache License 2.0


Languages

Language:Lua 99.9%Language:Shell 0.1%