this code is a mess and I am losing my mind

This commit does not work and I am so down I don't even bother
committing to conventional commits until I fix this mess.
This commit is contained in:
2026-07-19 21:38:00 +02:00
parent 9f950e45e7
commit a1e43576cc
12 changed files with 133 additions and 12 deletions
+13 -2
View File
@@ -1,23 +1,34 @@
type arr = array $s8 11
type arr = array $s8 10
func println $arr = native println
public func main = #main
main:
array $arr
dup
store %0
lenof
push $s32 1
sub
store %1
push $s32 0
loop:
dup
push $s32 10
load %1
eq
jnz #end
body:
dup
load %0
swap
push $s8 69
set
push $s32 1
add
jmp #loop
end:
drop