Commit graph

4 commits

Author SHA1 Message Date
Griffin Smith
b93268085a Implement top-level ascription of declarations 2021-03-14 17:01:25 -04:00
Griffin Smith
ecb4c0f803 Universally quantified type variables
Implement universally quantified type variables, both explicitly given
by the user and inferred by the type inference algorithm.
2021-03-14 16:43:47 -04:00
Griffin Smith
32a5c0ff0f Add the start of a hindley-milner typechecker
The beginning of a parse-don't-validate-based hindley-milner
typechecker, which returns on success an IR where every AST node
trivially knows its own type, and using those types to determine LLVM
types in codegen.
2021-03-13 22:07:09 -05:00
Griffin Smith
80f8ede0bb Initial commit 2021-03-07 15:29:59 -05:00