Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I wrote a Lox compiler and interpreter in OCaml a few years ago: 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.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: