This interpreter was made as a project at Saarland university. As the name suggests, Mini-OCaml is a small subset of OCaml.
dune build
Run ./main
after building the project. Type in expressions like, for example,
let x = 5 * 5 in x * x
.
- Lexing function types as input, comments