Commit Graph

16 Commits

Author SHA1 Message Date
Guy C
ade1fdaffc refactor: scaladocs-style commenting added in Error.scala 2025-02-07 15:38:19 +00:00
68e4762b37 feat: show expected and got types for TypeMismatch 2025-02-07 14:16:20 +00:00
f143f685c4 refactor: make functions non-semantic types 2025-02-07 13:54:35 +00:00
Barf-Vader
31bb23480b fix: refactored code to use ident.pos 2025-02-07 13:36:18 +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
Guy C
731692d95a refactor: bringing in ast and error changes 2025-02-07 11:59:28 +00:00
Guy C
ee1ea6c63b refactor: created printPosition method for unified error message format 2025-02-07 11:52:31 +00:00
Barf-Vader
b3ecae5dbb fix: quotes around char and str errors, added errors for assign and arrayIndex 2025-02-07 11:52:31 +00:00
Guy C
a2c81883f4 refactor: improvements to semantic error printing format
Co-authored by: al4423
2025-02-07 11:49:31 +00:00
Guy C
2ac7744e68 feat: implements error messages for DuplicateDeclaration and UndefinedIdentifier errors 2025-02-07 11:49:31 +00:00
277d2f66af fix: check function calls have correct number of args 2025-02-07 00:09:10 +00:00
f6e734937f feat: implement satisfies function in type checker
Co-Authored-By: jt2622
2025-02-06 21:04:27 +00:00
6548d895d5 feat: type checker without satisfies implemented
Co-Authored-By: jt2622
2025-02-06 20:26:15 +00:00
Jonny
88ec08a023 feat: basic type checker skeleton 2025-02-06 17:07:55 +00:00
8c5b85b8c2 fix: separate variable and function in scope 2025-02-05 18:12:26 +00:00
06c8a069fb feat: renamer maybe maybe maybe maybe 2025-02-05 18:12:25 +00:00