Commit Graph

34 Commits

Author SHA1 Message Date
Jonny
94ee489faf feat: greedy cli argument implemented, parallel compilation now by default, but no fail fast behaviour 2025-03-03 02:58:04 +00:00
Jonny
f24aecffa3 fix: remove implicit val causing conflicts with parsing cli arguments 2025-03-03 02:10:18 +00:00
Jonny
19e7ce4c11 fix: fix output flag not reading path passed in 2025-03-02 06:20:19 +00:00
Jonny
473189342b refactor: remove commented out code in main.scala 2025-03-02 03:49:21 +00:00
Jonny
f66f1ab3ac refactor: compile function split up into smaller functions 2025-03-02 03:48:37 +00:00
Jonny
9a5ccea1f6 style: fix formatting 2025-03-02 03:14:58 +00:00
Jonny
85a82aabb4 feat: add option flag, greedy compilation of multiple files, and refactor to use paths instead of files 2025-03-02 03:12:53 +00:00
Jonny
01b38b1445 fix: fix incorrect semantic error logging by refactoring error.scala from frontend 2025-03-01 01:34:05 +00:00
Jonny
667fbf4949 feat: introduction of logger to eliminate printstreams 2025-03-01 01:19:50 +00:00
Jonny
d214723f35 feat: parallelise compilation of multiple files given to cli 2025-02-28 19:36:22 +00:00
Jonny
d56be9249a refactor: introduce decline to integrate command-line parsing with cats-effect 2025-02-28 18:00:18 +00:00
Jonny
e54e5ce151 refactor: style fixes and fold combinator used instead of explicit pattern match 2025-02-28 15:50:53 +00:00
Jonny
cf1028454d fix: fix frontend tests failing due to expecting error codes instead of runtime exceptions 2025-02-28 15:20:32 +00:00
Jonny
345c652a57 feat: introduce cats-effect and io 2025-02-28 15:18:24 +00:00
c31dd9de25 style: scala format 2025-02-27 20:00:07 +00:00
9a1728fb3f fix: exit from Main with exit code rather than voiding 2025-02-27 19:39:48 +00:00
887b982331 fix: variable-sized values, heap-allocated arrays (and printCharArray) 2025-02-27 18:15:48 +00:00
Guy C
82230a5f66 refactor: remove unused import of IntLiter in Main.scala 2025-02-22 22:53:42 +00:00
7f2870e340 feat: generate assembly from main 2025-02-21 23:35:54 +00:00
0391b9deba fix: remove logging from Main 2025-02-21 18:51:50 +00:00
ab28f0950a fix: main outputs to current dir 2025-02-21 18:46:10 +00:00
39c695b1bb feat: output backend files 2025-02-21 18:19:03 +00:00
27cc25cc0d feat: type-checker returns micro wacc 2025-02-17 15:26:32 +00:00
b7e442b269 refactor: introduce exit-code guard against InternalError 2025-02-14 00:35:57 +00:00
f143f685c4 refactor: make functions non-semantic types 2025-02-07 13:54:35 +00:00
Guy C
2ac7744e68 feat: implements error messages for DuplicateDeclaration and UndefinedIdentifier errors 2025-02-07 11:49:31 +00:00
f6e734937f feat: implement satisfies function in type checker
Co-Authored-By: jt2622
2025-02-06 21:04:27 +00:00
0f18bca7fd fix: fix merge breaks, add function names to scope before renaming bodies 2025-02-05 20:41:49 +00:00
06c8a069fb feat: renamer maybe maybe maybe maybe 2025-02-05 18:12:25 +00:00
3aae08ffd4 feat: implement CLI for parser 2025-02-02 13:48:54 +00:00
c5b02a00aa feat: initial parser implementation 2025-02-01 17:17:54 +00:00
1a7aebb5cf feat: use cli parsing library and return randomly 0, 100 or 200 2025-01-31 16:32:17 +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