Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/meta-inf/mlc

[O]Caml compiler
https://github.com/meta-inf/mlc

compiler functional-programming ocaml

Last synced: 2 days ago
JSON representation

[O]Caml compiler

Awesome Lists containing this project

README

        

# MLC

Toy compiler for a subset of Caml.

Under construction.

## What's done

* Tuple, list, algebraic data types
* Pattern match

Check `test/` for details.

## TODO

* Beta expansion
* Runtime support for string & array
* Readable error messages
* Recursive type inference (`-rectypes` in OCaml)

## Dependencies

* `yasm`, `gcc`
* `ocamlbuild`, `menhir` (make)

## Syntax

The syntax is slightly different from OCaml. Check `test/` and `f/parse/` for details.