A hindley-milner typechecker with inductive types.
Go to file
2023-01-25 21:38:45 +01:00
app able to typecheck files ! 2022-01-28 20:50:02 +01:00
src fixed loop in anti loop detection 2022-03-01 18:10:18 +01:00
.gitignore added some build stuff 2022-01-23 12:52:33 +01:00
bad.hm added positivity check 2022-01-31 16:14:47 +01:00
hm.cabal able to typecheck files ! 2022-01-28 20:50:02 +01:00
hm.cf hm.cf: remove redundant comment 2022-01-29 00:13:01 +01:00
LICENSE added some build stuff 2022-01-23 12:52:33 +01:00
readme.md readme.md: added some info on current state of the project 2022-01-25 21:01:52 +01:00
Setup.hs only rebuild grammar when source has been modified 2022-01-23 13:58:15 +01:00
test.hm precedence levels 2023-01-25 21:38:45 +01:00
TODO it can now infer the type of some expressions 2022-01-25 21:00:12 +01:00

HM

A simple, terminating, pure, hindley milner lambda calculus with inductively defined types.

Very much a work in progress

The code is very messy and needs to be cleaned up..

Building

Depends: * BNFC * GHC * Cabal

Instructions: * Run cabal build