Erythro/tests/while
Curle 59329d963f
First files.
Currently has two bugs.

First, all functions are resolved to index 0 (currently PrintInteger)

Second, the register used for returning is immediately overwritten by the next allocated register. This means addition of function return values is a little silly.

Also, commit signing!
2020-09-10 02:01:18 +01:00

8 lines
79 B
Plaintext

{
int i;
while (i <= 10) {
print i;
i = i + 1;
}
}