/crafting-interpreters-ocaml

The tree walking interpreter from Crafting Interpreters in OCaml

Primary LanguageOCaml

crafting-interpreters

I translated part of crafting interpreter's tree walking interpreter into OCaml to become more familiar with the language, to help with reading TaPL.

I stopped at the resolver since the AST matching is getting a little burdensome, and it's effectively the same operation as converting to De Bruijn indices. I'm also not especially interested in OO, so I didn't take the time for those chapter.