ww: group lex.ww + tok.ww into lib/ww/lex/ submodule

This commit is contained in:
2026-05-11 16:42:13 +09:00
parent 97ca76d2bb
commit 72dfb6ac8d
8 changed files with 47 additions and 35 deletions

View File

@@ -1,4 +1,4 @@
// lib/ww/lex.ww — port of cmd/wcc/lex.c.
// lib/ww/lex/lex.ww — port of cmd/wcc/lex.c.
//
// The DFA, the helpers, and the order of decisions all mirror the C
// version exactly. The 990_selfhost test diffs the resulting token

View File

@@ -1,4 +1,4 @@
// lib/ww/tok.ww — port of cmd/wcc/tok.c plus the Tkind /
// lib/ww/lex/tok.ww — port of cmd/wcc/tok.c plus the Tkind /
// Tok / Pos shapes from cmd/wcc/ww.h.
//
// Token kind values must stay numerically equal to the C side: the