feat(furas): introduce basic generator

Closes: #56
This commit is contained in:
2026-07-17 20:43:34 +02:00
parent dfaa3081cb
commit 9f950e45e7
6 changed files with 654 additions and 13 deletions
+26
View File
@@ -0,0 +1,26 @@
type arr = array $s8 11
func println $arr = native println
public func main = #main
main:
array $arr
store %0
push $s32 0
loop:
dup
push $s32 10
eq
jnz #end
body:
dup
load %0
push $s8 69
set
jmp #loop
end:
drop
load %0
call $arr println
ret