c157a5e6ec
Move JavaScript-based compiler to bootstrap/js
2024-01-15 13:56:07 +01:00
7eed7998e8
Rename UniVar to RegularVar
2023-08-30 12:07:53 +02:00
859b1676fd
Clean up type checking code a bit
2023-08-02 10:37:13 +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
650cecb707
Add rigid type vars and some other enhancements
...
- Add TRigidVar as a type
- Make VarTypeExpression generate a TRigidVar
- Rename `TVar` to `TUniVar`
- Make kind checker use `kindOfType` instead of `new KType()`.
2023-06-26 18:54:20 +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