This commit is contained in:
Scarlett
2025-05-06 15:34:55 -04:00
parent 596434e152
commit c8491b62e4
49 changed files with 1560 additions and 339 deletions

View File

@ -1,10 +1,17 @@
1: func : test
2: $t0 = 1
3: x = $t0
4: $t1 = 2
5: y = $t1
6: if ( x < y ) GOTO 0
7: GOTO : 0
8: b = $t2
9: $t3 = 1
10: return : $t3
1: func_dec : entry
2: func : entry
3: $t0 = 1
4: Label : 1
5: x = $t0
6: $t1 = 2
7: Label : 2
8: y = $t1
9: $t2 = x < y
10: Label : 3
11: b = $t2
12: param b
13: call : printBoolean 1
14: Label : 4
15: result = $t3
16: $t4 = 1
17: return : $t4