normalize-surface-syntax 0.3.2

Surface-level syntax translation between languages via a common IR
Documentation
1
2
3
4
5
# normalize-surface-syntax/src

Source for the surface-syntax translation crate.

Key modules: `ir/` (core IR types — `Program`, `Expr`, `Stmt`, `Pat`, `PatField`, `Function`, `Param`, `ImportName`, `ExportName`, `Method`, `BinaryOp`, `UnaryOp`, `TemplatePart`), `input/` (language readers using tree-sitter), `output/` (language writers), `sexpr/` (S-expression serialization, feature-gated), `traits.rs` (`Reader` and `Writer` traits with `ReadError`), `registry.rs` (global reader/writer registry with `OnceLock`-based lazy init).