Commit Graph

25 Commits

Author SHA1 Message Date
8f7c902ed5 feat: implement .loc, .file and .func debug directives 2025-03-14 15:40:09 +00:00
1a39950a7b refactor: merge MemLocation with IndexedAddress 2025-02-28 16:26:40 +00:00
720d9320e2 Merge branch 'master' into comments-and-refactors 2025-02-28 15:14:47 +00:00
c3f2ce8b19 refactor: single definition for common registers 2025-02-28 14:47:47 +00:00
fb5799dbfd refactor: use LabelGenerator for RuntimeErrors 2025-02-28 14:07:00 +00:00
Guy C
f2a1eaf24c refactor: reorganize operation classes 2025-02-28 11:38:34 +00:00
887b982331 fix: variable-sized values, heap-allocated arrays (and printCharArray) 2025-02-27 18:15:48 +00:00
58df1d7bb9 refactor: extract Stack, proper register naming and sizes 2025-02-27 18:15:48 +00:00
Alex Ling
808a59f58a feat: almost implemented arrays 2025-02-27 18:15:48 +00:00
2cf18a47a8 fix: only push one item to stack on comparisons 2025-02-26 20:00:50 +00:00
Alex Ling
62df2c2244 fix: added dword in sizedir 2025-02-26 16:58:01 +00:00
Guy C
c9723f9359 feat: implements sign extension operation for division 2025-02-25 21:37:18 +00:00
Guy C
58d280462e feat: enhance asmGenerator with additional registers and improve function call generation
Co-authored-by: Barf-Vader <Barf-Vader@users.noreply.github.com>
Co-authored-by: Gleb Koval
2025-02-25 02:02:57 +00:00
Guy C
f30cf42c4b style: improve code formatting and consistency in typeChecker and assemblyIR 2025-02-25 00:05:10 +00:00
Guy C
1488281223 feat: implements binary operators in asmGenerator
Co-authored-by: Gleb Koval <gleb@koval.net>
Co-authored-by: Barf-Vader <Barf-Vader@users.noreply.github.com>
2025-02-25 00:00:12 +00:00
Alex Ling
24dddcadab feat: almost complete clib calls 2025-02-22 21:38:12 +00:00
Barf-Vader
ee4109e9cd style: fix style 2025-02-21 23:00:59 +00:00
Barf-Vader
02e741c52e feat: implemented println and exit 2025-02-21 22:53:20 +00:00
Barf-Vader
67f7e64b95 feat: add writer for assembly code 2025-02-20 19:47:24 +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
d49c267d50 feat: extends IR for load/move instructions and generalised conditional jumps 2025-02-18 18:26:50 +00:00
Barf-Vader
2c281066a8 refactor: used varargs instead of noOperand 2025-02-17 18:07:36 +00:00
Barf-Vader
7525e523bb style: reformatted to pass stylecheck 2025-02-16 18:03:39 +00:00
Barf-Vader
4e58e41a2a refactor: abstracted operations, used trait Operand 2025-02-16 17:58:35 +00:00
Barf-Vader
32622cdd7e feat: incomplete initial implementation of assemblyIR 2025-02-13 17:42:50 +00:00