Commit Graph

317 Commits

Author SHA1 Message Date
Guy C
447f29ce4c docs: update README.md 2025-03-14 13:19:14 +00:00
Guy C
6ad1a9059d refactor: package cleanup and formatting 2025-03-14 02:05:45 +00:00
Guy C
5778b3145d feat: include exe and updated filepath 2025-03-14 01:46:25 +00:00
Guy C
051ef02011 feat: update error generation to consider file paths 2025-03-14 01:28:59 +00:00
Connolly, Guy
d44eb24086 feat: add option flag, greedy compilation of multiple files, and refactor to...
Merge request lab2425_spring/WACC_37!41

Co-authored-by: Gleb Koval <gleb@koval.net>
Co-authored-by: Jonny <j.sinteix@gmail.com>
2025-03-13 23:28:07 +00:00
191c5df824 feat: imports and parallelised renamer
Merge request lab2425_spring/WACC_37!40

Co-authored-by: Jonny <j.sinteix@gmail.com>
2025-03-13 23:10:38 +00:00
Jonny
68211fd877 feat: parallelised the renamer 2025-03-13 23:00:28 +00:00
a3895dca2c style: scala format 2025-03-13 22:26:56 +00:00
6e592e7d9b feat: functional single-threaded imports 2025-03-13 22:24:41 +00:00
ee54a1201c fix: return proper AST from renamer 2025-03-13 20:47:56 +00:00
c73b073f23 feat: initial attempt at renamer parallelisation 2025-03-13 20:45:57 +00:00
8d8df3357d refactor: use getCanonicalPath instead of toRealPath 2025-03-13 18:39:11 +00:00
00df2dc546 feat: filenames in errors 2025-03-13 15:03:26 +00:00
67e85688b2 refactor: fMap to replace fOption, fList and fNonEmptyList 2025-03-13 14:03:53 +00:00
0497dd34a0 fix: use GOps to avoid scala error 2025-03-13 13:37:17 +00:00
6904aa37e4 style: scala format 2025-03-13 13:31:47 +00:00
5141a2369f fix: convert parser to use FParsley 2025-03-13 13:26:35 +00:00
3fff9d3825 feat: file parser bridges 2025-03-13 13:26:19 +00:00
f11fb9f881 test: integration tests for imports 2025-03-13 09:43:29 +00:00
e881b736f8 feat: imports parser 2025-03-13 08:18:44 +00:00
905a5e5b61 feat: parallelised compilation
Merge request lab2425_spring/WACC_37!39

Co-authored-by: Jonny <j.sinteix@gmail.com>
2025-03-13 01:08:58 +00:00
0d8be53ae4 fix: set output to . for labts compiler 2025-03-12 23:34:39 +00:00
Guy C
36ddd025b2 feat: include the compiler exe and use working relative filepath 2025-03-11 16:39:09 +00:00
Guy C
bad6e47e46 refactor: update error handling and diagnostics in IntelliWACC extension 2025-03-10 18:23:40 +00:00
96ba81e24a refactor: consistent error handling in Main.scala 2025-03-09 23:37:04 +00:00
Guy C
54d6e7143b fix: add 'is' keyword to WACC syntax highlighting 2025-03-03 12:38:25 +00:00
Guy C
c2259334c1 feat: setup for intelliwacc ide with syntax highlights 2025-03-03 12:26:53 +00:00
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
f896cbb0dd fix: add opSize back in to stack
Merge request lab2425_spring/WACC_37!38
2025-03-02 14: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
abb43b560d refactor: improve resource safety and structure of writer 2025-03-02 03:26:28 +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
1b6d81dfca style: scala format 2025-03-01 02:15:01 +00:00
ae52fa653c fix: add opSize back in to stack 2025-03-01 02:07:45 +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
3b723392a7 fix: do not overwrite RDI in free WACC_Back-End 2025-02-28 18:47:36 +00:00
9a0d3e38a4 refactor: merge MemLocation with IndexedAddress
Merge request lab2425_spring/WACC_37!37
2025-02-28 18:44:48 +00:00
37812fb5a7 fix: copy whole register on assignment 2025-02-28 18:41:31 +00:00
578a28a222 Revert "fix: zero-out D32 as well"
This reverts commit 0eaf2186b6.
2025-02-28 18:28:50 +00:00
Jonny
d56be9249a refactor: introduce decline to integrate command-line parsing with cats-effect 2025-02-28 18:00:18 +00:00
0eaf2186b6 fix: zero-out D32 as well 2025-02-28 17:51:06 +00:00
5ae65d3190 fix: sanity check 2025-02-28 17:22:49 +00:00
68903f5b69 refactor: use explicit sizes in asmGenerator 2025-02-28 17:21:45 +00:00
e1d90eabf9 fix: use MemLocation.copy for zeroRest 2025-02-28 16:40:58 +00:00