Toy compiler for a subset of Caml.
Under construction.
- Tuple, list, algebraic data types
- Pattern match
Check test/
for details.
- Beta expansion
- Runtime support for string & array
- Readable error messages
- Recursive type inference (
-rectypes
in OCaml)
yasm
,gcc
ocamlbuild
,menhir
(make)
The syntax is slightly different from OCaml. Check test/
and f/parse/
for details.