Connolly, Guy
|
c92ae5a707
|
Merge branch 'master' into 'scaladocs'
# Conflicts:
# src/main/wacc/parser.scala
|
2025-02-07 16:47:59 +00:00 |
|
Guy C
|
e38932a3e8
|
fix: uses correct comment syntax for comments on design justifications
|
2025-02-07 16:36:00 +00:00 |
|
Barf-Vader
|
cf661e6ac7
|
Merge remote-tracking branch 'origin/more-explicit-invalid-syntax' into more-explicit-invalid-syntax
|
2025-02-07 16:27:51 +00:00 |
|
Barf-Vader
|
4bf63454f4
|
fix: catch function call without keyword with parenscheck
|
2025-02-07 16:27:32 +00:00 |
|
|
4738207523
|
refactor: make missing return type message more precise
|
2025-02-07 16:22:00 +00:00 |
|
Guy C
|
09036040d6
|
refactor: further commenting to the parser
|
2025-02-07 16:13:50 +00:00 |
|
|
d32855cc29
|
feat: detect pointer operators
|
2025-02-07 15:42:38 +00:00 |
|
Guy C
|
d0324518b6
|
fix: style fixes in parser
|
2025-02-07 15:40:14 +00:00 |
|
|
959c556eae
|
fix: use verifiedExplain for missing return type check
|
2025-02-07 15:39:50 +00:00 |
|
|
0955f19a81
|
feat: detect function declarations mid-body
|
2025-02-07 15:39:04 +00:00 |
|
Guy C
|
f9e5ae4d98
|
refactor: scaladocs-style commenting added in parser
|
2025-02-07 15:37:55 +00:00 |
|
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 |
|