/monkey-ocaml

Ocaml code from Writing an Interpreter in Go

Primary LanguageOCaml

Writing an Interpreter in OCaml

Attributions

This repo is based off the book Writing an Interpreter in Go by Thorsten Ball. Commits will be reflective on places I stop for success.

Dune file and configuration files borrowed from @kuy

Requirements

  • Dune 1.11.x
  • opam 2.0.3
  • OCaml 4.07.1
  • Alcotest 0.8.5 (testing framework)
  • Fmt 0.8.8 (pretty printer for testing)

Commands

Testing

dune runtest will run the test file

Commands to be added as the rest of the code gets fleshed out.