Mark
0a9eea2045
fix bug where error would reference wrong file
2023-11-24 13:19:38 +01:00
Mark
12af47d18a
fix bug where #include included files would be able to access local variables and custom types. now, only globals are shared.
2023-11-24 12:51:54 +01:00
Mark
4144d6cf71
Type Annotations
...
- Add type annotations: [type] statement
- Add type definitions: [[name] type], [[name] := statement]
- Add type annotations example (08)
- add Quickstart.md, reference it from README
2023-11-21 22:10:58 +01:00
Mark
b6d708db3d
improve/fix errors in #include
2023-11-17 10:09:44 +01:00
Mark
12925fed67
improved error messages
...
- some small bugs are now fixed
- include comments in error messages (if this causes issues, use --hide-comments)
- colors should make more sense now
- error-related things moved to mers_lib/src/errors/
2023-11-16 14:50:09 +01:00
Mark
c39e784939
better errors, colors, and fix bug where x := x would panic
2023-11-16 13:09:17 +01:00
Mark
39951a59e9
add #include
2023-11-15 17:55:07 +01:00
Mark
577ef510ce
error display underline now includes a.f(b) (b) part
2023-10-27 19:57:45 +02:00
Mark
6618a4c00d
remove eprintln
2023-10-27 14:36:21 +02:00
Mark
6f36ded38c
fix bug when redeclaring a variable 3 times in the same scope
2023-10-27 14:35:10 +02:00
Mark
ea95a16c30
added better error messages inspired by rustc/cargo
...
but not as good
2023-10-23 21:48:15 +02:00
Mark
ae0e163595
assigning to tuples should work properly now
2023-08-15 19:18:52 +02:00
Mark
2a7cb08596
mers rewrite is starting to be usable
2023-08-14 17:17:08 +02:00
Mark
07745488b3
sorted mers_lib/src/program/configs/ and added cargo features
2023-07-28 15:20:02 +02:00
Mark
b81dac682e
full rewrite, kinda works
2023-07-28 00:33:15 +02:00