Commit graph

9 commits

Author SHA1 Message Date
c157a5e6ec
Move JavaScript-based compiler to bootstrap/js 2024-01-15 13:56:07 +01:00
e92e346bad
Decouple type checking info from CST and refactor checker.ts a bit 2023-08-12 13:46:19 +02:00
985e2d0652
Improve handing of struct/enum types and declarations
Also removes TNominal from the list of types because it is redundant
w.r.t. TCon.
2023-07-04 20:38:40 +02:00
bd4ed57c46
Add support for verifying diagnostic messages 2023-07-01 01:26:18 +02:00
7a0cb6753a
Add a 'verify' command, ...
- Add a command to check the integrity of the compiler
 - Add a diagnostic when a tuple index is out of bounds
 - Make 'build' the default command
 - ...
2023-06-30 19:30:42 +02:00
8d2f3c4977
Remove (de)serialization logic 2023-06-26 19:02:23 +02:00
2f9b6db5af
Adjust the way let-declarations are visited in the type-checker
Let-declarations are now roughly visited in the order they are
referenced, resulting in constraints being propagated in the same way.
2023-06-22 15:30:14 +02:00
f58011e50e
Refactor by splitting into multiple files 2023-06-21 16:56:04 +02:00
3fc184a0ce
Move compiler to its own subdirectory 2023-04-14 20:04:14 +02:00
Renamed from src/cst.ts (Browse further)