Commit Graph

19 Commits

Author SHA1 Message Date
7fc90f1d2d
Calculate stack offset from array index 2024-12-08 16:19:52 +01:00
1c996b3c8b
Make IR for array access 2024-12-06 15:37:36 +01:00
0c40bca60b
Add array assignment to the IR 2024-12-02 13:57:03 +01:00
147967c04b
Reverse procedure parameters on the stack 2024-11-28 16:28:19 +01:00
f7b36cb81d
Implement the while loop 2024-11-26 23:44:25 +01:00
0c9799b887
Adjust stack size based on local variables 2024-11-20 17:38:03 +01:00
1ec3467830
Map local variables in IR to their original names 2024-11-14 19:55:30 +01:00
060496fc6e
Parse local variables 2024-11-06 22:23:49 +01:00
43882a3a06
Generate a call to _divide_by_zero_error on RiscV 2024-10-30 14:12:51 +01:00
582040e5d3
Implement comparison operators 2024-10-13 12:59:47 +02:00
0850f0a8d6
Implement if statements with equality 2024-10-11 16:14:01 +02:00
699cc8684b
Implement division 2024-10-06 18:09:08 +02:00
35742aa525
Add printc and exit builtin functions 2024-10-04 18:26:10 +02:00
fdf56ce9d0
Negate integral expressions 2024-10-02 22:56:15 +02:00
c2c923276f
Implement addition and subtraction 2024-09-29 19:50:55 +02:00
ed144309fa
Print numbers with multiple digits 2024-09-27 22:53:05 +02:00
b30bbcab28
Parse call statements 2024-09-24 22:20:57 +02:00
c9ff4f0a2a
Add call pseudo instruction 2024-09-15 23:03:25 +02:00
a625bbff50
Add the tester 2024-09-06 14:04:05 +02:00