This commit is contained in:
IgorCielniak
2025-12-18 20:18:39 +01:00
parent f684e56a70
commit 452bb0318b
23 changed files with 1950 additions and 447 deletions

13
test_read_stdin.sl Normal file
View File

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