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
+5
View File
@@ -0,0 +1,5 @@
package std.io
protocol StreamReader
- get:buf
end
+7
View File
@@ -0,0 +1,7 @@
package std.io
protocol StreamWriter
- flush
- print:msg
- put:msg
end
+5
View File
@@ -0,0 +1,5 @@
package std.io
cin = StreamReader new
cout = StreamWriter new
cerr = StreamWriter new