|
16de964f74
|
refactor: do not append epilogue to user functions since they all return anyway
|
2025-02-26 18:45:03 +00:00 |
|
|
c748a34e4c
|
feat: user functions and calls
|
2025-02-26 18:31:15 +00:00 |
|
Alex Ling
|
62df2c2244
|
fix: added dword in sizedir
|
2025-02-26 16:58:01 +00:00 |
|
Guy C
|
07c67dbef6
|
feat: add zero division error handling in asmGenerator
|
2025-02-26 07:14:52 +00:00 |
|
Guy C
|
f15530149e
|
fix: fix sub instruction code gen
|
2025-02-26 01:43:12 +00:00 |
|
Guy C
|
9ca50540e6
|
fix: fixed implementation of if statement code gen
|
2025-02-26 01:10:14 +00:00 |
|
Jonny
|
f76b7a9dc2
|
refactor: replace explicit loops and flatMap with foldMap
|
2025-02-25 22:46:48 +00:00 |
|
Guy C
|
c9723f9359
|
feat: implements sign extension operation for division
|
2025-02-25 21:37:18 +00:00 |
|
|
11c483439c
|
fix: generate strDirs after prog, change += to +
|
2025-02-25 21:05:21 +00:00 |
|
Jonny
|
ebc65af981
|
feat: extension method concatAll defined on Chain implemented
|
2025-02-25 21:03:44 +00:00 |
|
Jonny
|
bd0eb76bec
|
fix: alignment issue with stack in read
|
2025-02-25 21:02:59 +00:00 |
|
Jonny
|
edbc03ee25
|
feat: used local mutable Chains. Also implemented new LabelGenerator
|
2025-02-25 21:02:57 +00:00 |
|
Jonny
|
7953790f4d
|
feat: used Chains instead of Lists
|
2025-02-25 21:01:02 +00:00 |
|
Alex Ling
|
87a239f37c
|
fix: alignment issue with stack in read
|
2025-02-25 18:20:50 +00:00 |
|
|
efe9f91303
|
refactor: use non-singleton labelgenerator (instead use class)
|
2025-02-25 17:10:56 +00:00 |
|
|
5f8b87221c
|
fix: escape characters within assembly
|
2025-02-25 17:07:21 +00:00 |
|
|
f628d16d3d
|
fix: always push a value onto stack on expr evaluation
|
2025-02-25 16:27:47 +00:00 |
|
Alex Ling
|
3f76a2c5bf
|
refactor: extract stack into seperate class
|
2025-02-25 04:44:08 +00:00 |
|
Alex Ling
|
8ed94e4df3
|
fix: initial exprs on stack
|
2025-02-25 03:17:05 +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 |
|
Guy C
|
668d7338ae
|
feat: move default return out of functionEpilogue into main def
|
2025-02-24 19:47:06 +00:00 |
|
Guy C
|
9d78caf6d9
|
feat: add support for return statements in asmGenerator
|
2025-02-24 18:57:13 +00:00 |
|
Guy C
|
909114bdce
|
feat: implement basic while loop generation in asmGenerator
|
2025-02-24 04:47:21 +00:00 |
|
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
|
1255a2e74c
|
feat: add initialization of AX register in function prologue
|
2025-02-22 22:53:17 +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 |
|