Commit Graph

21 Commits

Author SHA1 Message Date
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
f78592378a
Add IR quadruple definitions 2024-08-12 21:00:52 +02:00
a1863147f8
Don't allow identifier duplicates 2024-08-05 22:56:35 +02:00
9cb9ab536f Create procedure local symbol table 2024-08-04 12:23:19 +02:00
5f8d9abe76 Require trailing semicolon for type declarations 2024-08-02 00:09:57 +03:00
d4471ca2fa Collect types into the global symbol table 2024-07-31 00:49:16 +03:00
ce7652c618
Add types for name analysis 2024-07-26 12:22:07 +02:00
bf774475cc
Parse all statements 2024-07-25 01:39:53 +02:00
9d1f038594
Split in lib and tests 2024-07-23 22:44:42 +02:00