Why not transform directly between formats?
The extra layer is only worth it if it makes the architecture simpler over time. In this project, that is the main bet.
- A shared IR keeps parser and generator work from collapsing into one-off adapters.
- It creates a stable place for diagnostics and future analysis layers.
- It makes cross-format reasoning easier to explain to users and contributors.