lib+test/wcc: add memio, rename io stream.ww→io.ww

Mirrors Hare's memio: fixed, dynamic, dynamicfrom, buffer, string,
reset, borrowedread. Caller owns the state + stream slots because
w6c lacks &x.field and 32B return-by-value. Tests table-driven via
parallel arrays. io.stream now exported.
This commit is contained in:
2026-05-13 16:07:18 +09:00
parent 7a4f60b041
commit 09a336cb74
5 changed files with 581 additions and 3 deletions

View File

@@ -204,7 +204,7 @@ probe_dump_diff(const char *bin)
"lib/fmt/fmt.ww",
"lib/strings/strings.ww",
"lib/bytes/bytes.ww",
"lib/io/stream.ww",
"lib/io/io.ww",
"lib/errors/errors.ww",
"lib/bufio/bufio.ww",
"lib/types/types.ww",