23 Commits

Author SHA1 Message Date
Guy C
b6d8eb31e3 feat: semantic error messages make use of msg strings passed from typeChecker 2025-02-07 13:22:13 +00:00
Barf-Vader
c798fdf416 fix: made missing func return type error atomic 2025-02-07 13:21:13 +00:00
Guy C
8583a815a8 refactor: style fixes in lexer and parser 2025-02-07 11:52:31 +00:00
Barf-Vader
a65cc01815 fix: added error messages for functions missing type, and late function decls 2025-02-07 11:52:31 +00:00
Barf-Vader
f24f8c87d8 fix: added explanation for nested pair error, added more errors 2025-02-07 11:50:57 +00:00
6d1c0b7a87 fix: make parser use only parsley parser bridge apply 2025-02-06 19:55:52 +00:00
Barf-Vader
bd779931b6 refactor: style fixes in parser
Co-authored-by: gc1523
2025-02-06 19:54:16 +00:00
Barf-Vader
19880321d7 feat: implemented lexer-backed error builder, error messages are now based on predefined tokens
Co-authored-by: gc1523
2025-02-06 19:54:16 +00:00
Barf-Vader
e787d7168f refactor: implemented labelAndExplain(), combining the two, and provided explanations for expr
Co-authored-by: gc1523
2025-02-06 19:53:48 +00:00
Guy C
ded35dcc6e feat: improved error messages for atom types 2025-02-06 15:36:24 +00:00
Guy C
057d625464 fix: style fixes 2025-02-04 17:13:56 +00:00
Guy C
4602b75628 feat: improved error messages 2025-02-04 17:03:46 +00:00
da4b398bf0
fix: do not allow negation of a positive int literal 2025-02-02 13:30:33 +00:00
2588c8287d
fix: change lhs of Assign to lvalue 2025-02-02 00:33:16 +00:00
03fdbe01d9
fix: put functions "(" within atomic 2025-02-02 00:30:18 +00:00
cb9796fa87
feat: show exact statement which must be returning at the end of a function 2025-02-02 00:00:09 +00:00
0db7a30af0
refactor: remove excessive atomics 2025-02-01 21:05:42 +00:00
a110225c49
Merge branch 'ast' into parser 2025-02-01 20:56:03 +00:00
f5f6628c89
fix: extract <ident> from <array-elem> 2025-02-01 20:29:04 +00:00
c5b02a00aa
feat: initial parser implementation 2025-02-01 17:17:54 +00:00
302fecc91b
refactor: remove boilerplate parser 2025-02-01 03:42:02 +00:00
252ed1c925
refactor: use scalafmt to format code 2025-01-27 14:47:57 +00:00
LabTS
2b50e3e1f6 provided code 2025-01-19 23:10:54 +00:00