initial commit, correctly parses simple example

This commit is contained in:
2021-10-24 20:24:24 +02:00
commit e6a6fd1535
7 changed files with 646 additions and 0 deletions

9
test.hw Normal file
View File

@@ -0,0 +1,9 @@
import time: i32;
export fn tic() {
let i = 0;
loop frame {
i?64 = (i % 320 + time / 10) ^ (i / 320);
branch_if (i := i + 1) < 320*256: frame;
}
}