Commit Graph
27 Commits
Author SHA1 Message Date
Guy C 2bed722a4f style: improve code formatting and readability in asmGenerator 2025-02-24 02:04:21 +00:00
Guy C dc61b1e390 feat: implement label generation and basic conditional branching in asmGenerator 2025-02-24 02:00:35 +00:00
Guy C 82230a5f66 refactor: remove unused import of IntLiter in Main.scala 2025-02-22 22:53:42 +00:00
Guy C 1255a2e74c feat: add initialization of AX register in function prologue 2025-02-22 22:53:17 +00:00
Guy C 006e85d0f8 style: improve formatting for Jump case class and condition toString method 2025-02-18 18:29:16 +00:00
Guy C 43682b902b test: add unit tests for register and instruction toString methods 2025-02-18 18:27:42 +00:00
Guy C d49c267d50 feat: extends IR for load/move instructions and generalised conditional jumps 2025-02-18 18:26:50 +00:00
Guy C 41ed06f91c refactor: moved frontend files into dedicated folder 2025-02-11 21:36:06 +00:00
Guy C 5fce2babc0 fix: removed expired todo in parser 2025-02-07 18:48:34 +00:00
Guy C e38932a3e8 fix: uses correct comment syntax for comments on design justifications 2025-02-07 16:36:00 +00:00
Guy C 09036040d6 refactor: further commenting to the parser 2025-02-07 16:13:50 +00:00
Guy C d0324518b6 fix: style fixes in parser 2025-02-07 15:40:14 +00:00
Guy C ade1fdaffc refactor: scaladocs-style commenting added in Error.scala 2025-02-07 15:38:19 +00:00
Guy C f9e5ae4d98 refactor: scaladocs-style commenting added in parser 2025-02-07 15:37:55 +00:00
Guy C c6b57be2c3 refactor: scaladocs-style commenting added in lexer 2025-02-07 15:37:33 +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 8583a815a8 refactor: style fixes in lexer and parser 2025-02-07 11:52:31 +00:00
Guy C ee1ea6c63b refactor: created printPosition method for unified error message format 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
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