3 ms·
I wrote a Lox compiler and interpreter in OCaml a few years ago: https://github.com/gaultier/lox-ocaml https://github.com/gaultier/lox-ocaml No idea how it hol
by broken_broken_ 2y ago
I wrote a Lox compiler and interpreter in OCaml a few years ago: https://github.com/gaultier/lox-ocaml https://github.com/gaultier/lox-ocaml
No idea how it holds up, it was my first try at a compiler, but it’s quite small. I was following the Crafting Interpreters book.