Parent tracker: #66
Scope
- Expose reusable native shell lexer/parser serialization helpers without requiring a Bun-owned
JSGlobalObject. - Marshal tagged-template strings, primitive interpolations, raw fragments, arrays, and JS object references through JavaScriptCore C-API callbacks.
- Remove the Home-only TODO rewrites for
js/bun/shell/lex.test.tsandparse.test.ts. - Preserve the existing POSIX
cpcorpus coverage while installing the lexer/parser bridge. - Add regression coverage and pass the full
home_testgate.
Acceptance evidence
Landed in 911e577d9.
- Lexer corpus: 29 pass, 0 fail, 0 unsupported, 0 todo.
- Parser corpus: 18 pass, 0 fail, 0 unsupported, 1 upstream
describe.todo. - Existing
cpcorpus: 16 pass, 0 fail, 0 unsupported, 0 todo. - Full
home_testgate: 1054 total, 1053 pass, 1 intentional skip, 0 fail. - Repository-wide Zig build passes.