Commit graph

8 commits

Author SHA1 Message Date
Emi Simpson 719de87ea9
Perform match elimination at IR generation rather than codegen 2024-03-16 19:42:09 -04:00
Emi Simpson 88399fff69
Implement compilation 2024-03-15 20:21:46 -04:00
Emi Simpson d5649b0523
Return actually analagus types in BranchMismatch 2024-03-15 20:21:43 -04:00
Emi Simpson fb55346003
Make typechecking slightly less buggy
- The statement ["x", "x"] no longer typechecks in the empty context
- The statement ["ident": {"x": "x"}] now correctly generalizes
- The statement ["compose", "compose", "compose"] no longer goes into an infinite loop
2024-03-15 20:21:43 -04:00
Emi Simpson 792674797d
Buggy typechecking 2024-03-15 20:21:43 -04:00
Emi Simpson 224ec0bc98
Add a repl 2024-03-15 20:21:42 -04:00
Emi Simpson a49b7b5baf
Add let statements 2024-03-15 20:21:42 -04:00
Emi Simpson c27852daba
Add in IR generation 2024-03-15 20:21:42 -04:00