small refactor and cleanup

This commit is contained in:
IgorCielniak
2026-01-08 13:15:27 +01:00
parent 963e024108
commit d4dc6ceef5
52 changed files with 418 additions and 372 deletions

13
tests/io_read_stdin.sl Normal file
View File

@@ -0,0 +1,13 @@
import ../stdlib/stdlib.sl
import ../stdlib/io.sl
: main
1024
read_stdin # returns (addr len)
dup 0 > if
write_buf
0 exit
end
"read_stdin failed" puts
exit
;