Notwithstanding the loftiness of the title, this is just a tutorial inspired by Implementing a JIT Compiled Language with Haskell and LLVM. I chose OCaml and decided to select by own libraries to accomplish this.
So, for example, the parser using Angstrom, which I know nothing about.
While I code I also strive to learn.
The code will be developed and refactored incrementally.
The version posted here is compiled and tested but it is incomplete. The final version will be in Git if everything goes
according to plan.
Parser combinators
Ported from Haskell to OCaml and uses Angstrom. Lightly tested.