implement str.from_i64

This commit is contained in:
2025-11-22 20:01:10 +01:00
parent 06c979f177
commit 73cd71c8e4
6 changed files with 47 additions and 27 deletions

View File

@@ -16,9 +16,9 @@ func main[] : I64
else if op == '<'
p = p - 1
else if op == '+'
str.set(memory, p, memory[p]+1)
str.set(memory, p, memory[p] + 1)
else if op == '-'
str.set(memory, p, memory[p]-1)
str.set(memory, p, memory[p] - 1)
else if op == '.'
io.print_char(memory[p])
else if op == ','