rewrite listdir and stdin builtins in zern

This commit is contained in:
2025-07-08 17:10:39 +02:00
parent 8722e226a9
commit dfec298823
3 changed files with 26 additions and 60 deletions

View File

@@ -7,7 +7,7 @@ func main[] : I64
let s: I64 = 1
let j: I64 = 0
while j < 13
s = s * U8.parse_i64(String.nth(n, i + j))
s = s * (String.nth(n, i + j) - '0')
j = j + 1
if s > out
out = s