Tree walking interpreter written in OCaml for Monkey Language - A simple language with C-like syntax.
Implemented by following the book Writing an Interpreter in Go by Thorsten Ball
- Integers, booleans, strings, arrays, hash maps
- A REPL
- Arithmetic expressions
- Let statements
- First-class and higher-order functions
- Built-in functions
- Recursion
- OCaml
- opam
- dune
dune exec bin/main.exe
- Errors like in the book
- Tests?
- Closures
- Read from a file