zshrs-parse — lexer + parser for zshrs.
Direct port of zsh's Src/lex.c and Src/parse.c. Locked to the C
source via tests/lexer_parity.rs (byte-equal token streams against
Src/Modules/zshrs_dump.c's dumptokens builtin) and
tests/parity_harness.rs (byte-equal AST sexp against .zwc decode).
Shared between:
zshrs(the runtime crate) — re-exports aszsh::tokens,zsh::lexer,zsh::parserso existing call sites resolve unchanged.zshrs-daemon— uses for static.zshrcanalysis (catalog hydration, plugin walk, source-following). The daemon's olderzsh_lexer.rs/zsh_parser.rsare partial reimplementations slated for replacement by this crate once parity is proved on the daemon's call sites.