Expand description
Stable JSON projections for parser-facing tooling.
The core AST keeps its Rust-native shape for compiler consumers.
This module owns the CLI/tooling projection so harn parse --json
and harn tokens --json can evolve under explicit schema versions.
Structs§
Constants§
Functions§
- node_
to_ json - program_
to_ json - structural_
projection - A span-free projection of
programwith every interpolation hole replaced by its parsed tree, so two parses compare by structure alone.grammaris the operator grammar the holes are parsed with. - token_
kind_ name - token_
to_ json - tokens_
to_ json