merge new changes from master into semantic errors #10

Merged
al4423 merged 19 commits from master into semantic-error-messages 2025-02-06 23:39:05 +00:00

19 Commits

Author SHA1 Message Date
4dc07c249a refactor: implemented labelAndExplain(), combining label and explain, and...
Merge request lab2425_spring/WACC_37!9

Co-authored-by: Barf-Vader <47476490+Barf-Vader@users.noreply.github.com>
Co-authored-by: Guy C <gc1523@ic.ac.uk>
2025-02-06 20:30:20 +00:00
0e2d1af878 refactor: add comments to renamer 2025-02-06 19:55:52 +00:00
74f62ea933 fix: fix merge breaks, add function names to scope before renaming bodies 2025-02-06 19:55:52 +00:00
ae9625b586 fix: use apply() instead of get() for Maps 2025-02-06 19:55:52 +00:00
30cf42ee3a fix: separate variable and function in scope 2025-02-06 19:55:52 +00:00
3fbb90322f feat: renamer maybe maybe maybe maybe 2025-02-06 19:55:52 +00:00
e9ed197782 fix: remove unused applyCon from AST 2025-02-06 19:55:52 +00:00
6d1c0b7a87 fix: make parser use only parsley parser bridge apply 2025-02-06 19:55:52 +00:00
1486296b40 refactor: add position tracking to AST, UnaryOp, BinaryOp 2025-02-06 19:54:16 +00:00
Barf-Vader
bd779931b6 refactor: style fixes in parser
Co-authored-by: gc1523
2025-02-06 19:54:16 +00:00
Barf-Vader
8b64f2e352 fix: removed redundant labelling in ast
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
Guy C
4e50ed35ba feat: more error messages 2025-02-04 03:32:52 +00:00
Guy C
3c23654356 fix: remove redundant imports 2025-02-04 03:06:56 +00:00
Guy C
5016fefc14 feat: lexer implements ErrorConfig for improved error messages 2025-02-04 03:02:37 +00:00