"Contributing — parser and HIR"
| Path | Role |
crates/vox-compiler/src/lexer | Tokenization |
crates/vox-compiler/src/parser | Recursive descent → ast::decl::Module |
crates/vox-compiler/src/hir/lower | AST → HirModule |
crates/vox-compiler/src/hir/validate.rs | Structural invariants |
crates/vox-compiler/src/typeck | HIR typechecking |
cargo test -p vox-compiler
cargo test -p vox-compiler --test parser_recovery
- Parser / HIR changes include tests (unit or
tests/*.rs).
- New declaration kinds either get a dedicated
Hir* vector or land in legacy_ast_nodes only with an inventory update and a graduation plan.