Commit graph

18 commits

Author SHA1 Message Date
1ea65236a5 Add support for currying 2022-09-16 12:00:00 +02:00
6c29d49ac6 Add experimental support for match-expressions and some new patterns 2022-09-16 11:31:34 +02:00
a378f8276d Enable parsing of tuple expressions 2022-09-16 10:25:24 +02:00
2d10ceedc9 Multiple enhancements
- Make record expressions anonymous
 - Introduce `TNominal`
 - Add experimental support for type declarations (fixes #32)
 - Fix inference of StructDeclaration
2022-09-15 20:36:15 +02:00
4cc2b23109 Add experimental support for kind inference 2022-09-14 16:46:30 +02:00
988215cdb3 Multiple updates to the type-checker
- Add support for type declarations
- Make polymorphism in struct declarations work
2022-09-11 11:20:21 +02:00
5f373a9d13 Make struct-declarations polymorphic 2022-09-10 16:52:14 +02:00
3611dedf24 Enable parsing enum-declarations 2022-09-10 14:11:04 +02:00
7b3f1948bb Remove TAny; support operator declarations and arrow type expressions 2022-09-09 22:37:14 +02:00
f1a365e29c Add support for parsing/type-checking member expressions 2022-09-09 00:00:28 +02:00
00bcaa93ee Make record types partially work 2022-09-07 12:45:38 +02:00
20af138fa5 Minor changes
- Refactor Constructor to IdentifierAlt
 - Make () -> a unify with a
2022-09-01 20:18:47 +02:00
666256ed15 Add support for type-checking recursion and improove Checker.addConstraint 2022-09-01 20:07:09 +02:00
6063b5f591 Enable parsing let declaration block bodies 2022-08-31 13:53:57 +02:00
3381a2bd5d Fix a let body not closing properly during parsing 2022-08-31 13:46:18 +02:00
48f1b0f45c Add some type-checking logic and improve diagnostics 2022-08-31 13:29:56 +02:00
cda44e4c25 Extend scanner/parser to support more syntactic structures 2022-08-29 16:17:55 +02:00
d813e85d00 Enable parsing of simple let-expressions 2022-08-28 21:12:25 +02:00