implement support for start function

This commit is contained in:
dranke committed 2021-11-13 22:27:07 +01:00
1 parent 29b8c04700
commit e23b98c1ab
6 files changed
+53 -22

No files matched your search

+1 -1
View File
@@ -5,7 +5,7 @@ import "env.sin" fn sin(f32) -> f32;
import "env.cls" fn cls(i32);
export fn tic(time: i32) {
cls(0);
cls(32);
let i: i32;
loop outer {
let lazy fi = i as f32 / 4 as f32;
-1
View File
@@ -1,6 +1,5 @@
import "env.memory" memory(4);
import "env.sin" fn sin(f32) -> f32;
import "env.atan2" fn atan2(f32, f32) -> f32;
export fn tic(time: i32) {
let i: i32;