Commit graph

20 commits

Author SHA1 Message Date
3fc184a0ce
Move compiler to its own subdirectory 2023-04-14 20:04:14 +02:00
26f50c5b50
Make most classes serializable and remove bolt-selftest.ts
bin/bolt-selftest.ts will be moved to a separate package
2023-04-14 19:58:23 +02:00
1cbd2e8a23 Merge with local implementation of toStringTag 2023-04-13 14:36:28 +02:00
17bdb2d7cb
Fix some bugs in textual input/ouput 2023-04-12 19:38:45 +02:00
1b918dcaf0 Add support for AssignStatement in lexical analysis and CST 2023-03-19 17:02:59 +01:00
f995d887e7 Add Syntax.clone() method and '\\' token 2023-02-06 11:52:20 +01:00
3e14538d15 [WIP] Add support for typeclasses 2023-02-03 17:52:34 +01:00
cea177e4a6 Add support for parsing module declarations 2022-09-17 13:20:49 +02:00
117f49f343 Add support for parsing the 'foreign' keyword in let-declarations 2022-09-16 19:50:18 +02:00
6c29d49ac6 Add experimental support for match-expressions and some new patterns 2022-09-16 11:31:34 +02:00
9bf81c56db Allow record expressions to cover multiple lines 2022-09-15 22:49:20 +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
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
eac4279a5e Make scanner work with exceptions 2022-08-31 13:37:26 +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