codegen
This commit is contained in:
parent
09d6cf4b46
commit
ed0ad1d095
14 changed files with 846 additions and 897 deletions
13
test_simple.l
Normal file
13
test_simple.l
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
i32 main()
|
||||
{
|
||||
i32 x = 0;
|
||||
|
||||
while (x < 10) {
|
||||
x = x + 1;
|
||||
if (x == 5) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
return x;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue