3 Commits
Author SHA1 Message Date
Marshall Greenblatt 876c1ceee8 tools: Restore translator notification context
Clear the parser notification context in a finally block for both CppToC
and CToCpp implementation writers, including when generation raises.

Update failure-path regressions to require context restoration while
preserving successful output behavior.
2026-07-27 16:46:14 -04:00
Marshall Greenblatt 102a662f04 tools: Fix implementation generator CLI output
Unpack the CppToC and CToCpp generator results before writing generated
content to stdout. This preserves the existing generator return contracts.

Add successful CLI regressions that verify exact output, empty stderr, and
unchanged input files.
2026-07-27 16:46:13 -04:00
Marshall Greenblatt 6ce3ac6d75 tools: Add make generator test coverage
Add deterministic fixtures, goldens, and matching tests for all 18
make_* generators. Refactor make_distrib orchestration behind an
importable main entry point while preserving generated output. Add
passing characterizations for existing generator issues.
2026-07-27 16:46:13 -04:00