A ReScript implementation of the Monkey Language
ReMonkey has many sibling implementations
- Kotlin: monkey.kt
- Crystal: Monyet
- Scala 3: Langur
- Ruby 3: Pepa
- Python 3.10 Bruno
- Lua Julieta
- TypeScript TSMonkey
The book (Writing An Interpreter In Go) is fully implemented. ReMonkey will not have a compiler implementation
Any recent version of Bun 1.2.* and Node LTS to run the Benchmarks
Command | Description |
---|---|
bun install |
Install all the packages using bun |
bun run res:build |
Build the full project |
bun run test |
Run all tests |
bun run src/Repl.res.mjs |
Run the ReMonkey REPL |
bun run src/Benchmark.res.mjs or node src/Benchmark.res.mjs |
Run the benchmarks, i.e. a recursive fib(35) |