Commit Graph

327 Commits

Author SHA1 Message Date
cyclane 28ee7a2a32 feat: debug symbols for line file/line location and functions in main file
Merge request lab2425_spring/WACC_37!44
2025-03-14 17:12:13 +00:00
cyclane 68435207fe fix: include correct main position and don't re-create label 2025-03-14 15:51:34 +00:00
cyclane 8f7c902ed5 feat: implement .loc, .file and .func debug directives 2025-03-14 15:40:09 +00:00
cyclane 07f02e61d7 feat: pass stmt position information to microwacc 2025-03-14 14:02:42 +00:00
Connolly, Guy af514b3363 intelliwacc ide
Merge request lab2425_spring/WACC_37!43

Co-authored-by: Guy C <gc1523@ic.ac.uk>
2025-03-14 13:22:52 +00:00
Guy C 447f29ce4c docs: update README.md 2025-03-14 13:19:14 +00:00
cyclane 0368daef00 feat: parallel type checking
Merge request lab2425_spring/WACC_37!42

Co-authored-by: Jonny <j.sinteix@gmail.com>
2025-03-14 06:11:53 +00:00
cyclane 084081de7e style: scala format 2025-03-14 05:40:21 +00:00
cyclane 46f526c680 feat: success logging by default 2025-03-14 05:39:42 +00:00
cyclane 53d47fda63 feat: initial parallel type-checker implementation 2025-03-14 04:09:34 +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
Jonny 42515abf2a refactor: remove pattern match in for comprehension 2025-03-14 00:00:43 +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
cyclane 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
cyclane a3895dca2c style: scala format 2025-03-13 22:26:56 +00:00
cyclane 6e592e7d9b feat: functional single-threaded imports 2025-03-13 22:24:41 +00:00
cyclane ee54a1201c fix: return proper AST from renamer 2025-03-13 20:47:56 +00:00
cyclane c73b073f23 feat: initial attempt at renamer parallelisation 2025-03-13 20:45:57 +00:00
cyclane 8d8df3357d refactor: use getCanonicalPath instead of toRealPath 2025-03-13 18:39:11 +00:00
cyclane 00df2dc546 feat: filenames in errors 2025-03-13 15:03:26 +00:00
cyclane 67e85688b2 refactor: fMap to replace fOption, fList and fNonEmptyList 2025-03-13 14:03:53 +00:00
cyclane 0497dd34a0 fix: use GOps to avoid scala error 2025-03-13 13:37:17 +00:00
cyclane 6904aa37e4 style: scala format 2025-03-13 13:31:47 +00:00
cyclane 5141a2369f fix: convert parser to use FParsley 2025-03-13 13:26:35 +00:00
cyclane 3fff9d3825 feat: file parser bridges 2025-03-13 13:26:19 +00:00
cyclane f11fb9f881 test: integration tests for imports 2025-03-13 09:43:29 +00:00
cyclane e881b736f8 feat: imports parser 2025-03-13 08:18:44 +00:00
cyclane 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
cyclane 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
cyclane 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
cyclane 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
cyclane 1b6d81dfca style: scala format 2025-03-01 02:15:01 +00:00
cyclane 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