lib/bytes+test: port tokenize family from Hare (#18)
This commit is contained in:
@@ -12,7 +12,6 @@
|
||||
static const char *modules[] = {
|
||||
"lib/types/types.ww",
|
||||
"lib/ascii/ascii.ww",
|
||||
"lib/bytes/bytes.ww",
|
||||
"lib/io/io.ww",
|
||||
"lib/errors/errors.ww",
|
||||
"lib/strconv/strconv.ww",
|
||||
@@ -31,17 +30,21 @@ static const char *modules[] = {
|
||||
"lib/math/random/random.ww",
|
||||
"lib/time/time.ww",
|
||||
"lib/c/libc/libc.ww",
|
||||
/* lib/bufio/bufio.ww, lib/fmt/fmt.ww, lib/os/os.ww, and
|
||||
* lib/strings/strings.ww moved off this list: each has cross-
|
||||
* module type refs that only resolve once the driver concatenates
|
||||
* `use`d modules. bufio / fmt graduated to io.stream-based sinks
|
||||
* (*io.stream, io.closed, io.eof); lib/os carries time.instant in
|
||||
* filestat post-Commit B; lib/strings.iterator + lib/strings.next
|
||||
* reference utf8.decoder / utf8.done. Coverage lives at
|
||||
* lib/bufio/bufiotest.ww + lib/fmt/fmttest.ww + lib/os/stattest.ww
|
||||
* + lib/strings/stringstest.ww (wired at 998_bufio_run.c,
|
||||
* 970_fmt_run.c, 976_stat_run.c, 966_strings_run.c), plus the
|
||||
* bufio.scanline / fmt.println e2e rows in test/wcc/700_e2e.c. */
|
||||
/* lib/bufio/bufio.ww, lib/bytes/bytes.ww, lib/fmt/fmt.ww,
|
||||
* lib/os/os.ww, and lib/strings/strings.ww moved off this list:
|
||||
* each has cross-module type refs that only resolve once the
|
||||
* driver concatenates `use`d modules. bufio / fmt graduated to
|
||||
* io.stream-based sinks (*io.stream, io.closed, io.eof); lib/os
|
||||
* carries time.instant in filestat post-Commit B;
|
||||
* lib/strings.iterator + lib/strings.next reference utf8.decoder
|
||||
* / utf8.done; lib/bytes.tokenize references os.assert +
|
||||
* types.I64_MAX/MIN per ref/hare/bytes/tokenize.ha:23-24,42-43.
|
||||
* Coverage lives at lib/bufio/bufiotest.ww + lib/bytes/bytestest.ww
|
||||
* + lib/fmt/fmttest.ww + lib/os/stattest.ww +
|
||||
* lib/strings/stringstest.ww (wired at 998_bufio_run.c,
|
||||
* 967_bytes_run.c, 970_fmt_run.c, 976_stat_run.c,
|
||||
* 966_strings_run.c), plus the bufio.scanline / fmt.println e2e
|
||||
* rows in test/wcc/700_e2e.c. */
|
||||
"lib/net/net.ww",
|
||||
NULL
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user