Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/mustafaaamir/lamlt

A typed lambda-calculus evaluator written in OCaml
https://github.com/mustafaaamir/lamlt

lambda-calculus ocaml

Last synced: 8 days ago
JSON representation

A typed lambda-calculus evaluator written in OCaml

Awesome Lists containing this project

README

        

# lcaml
[UNFINISHED] a lambda calculus evaluator in OCaml

# usage

```shell
> opam install dune utop ocamlformat
> dune utop

open TypeCheck;;
infer @@ beta_reduce @@ Abs("x", Var "x");;
- : t = TArrow (TVar "b3", TVar "b3")
```

# todo:
1. tests for type_checking
2. fix module structure
3. add recursive types - something like System F
4. add tests for other constructors (bool, int, if)
5. lexer and parser