doc: add sample package file tree

This commit is contained in:
2024-11-13 21:55:32 +00:00
parent 06bf9a3030
commit 55a8435cd3
13 changed files with 93 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
package std.io
protocol StreamReader
- get:buf
end

View File

@@ -0,0 +1,7 @@
package std.io
protocol StreamWriter
- flush
- print:msg
- put:msg
end

5
doc/std/io/init.im Normal file
View File

@@ -0,0 +1,5 @@
package std.io
cin = StreamReader new
cout = StreamWriter new
cerr = StreamWriter new