"Contributing — parser and HIR"

Contributing — parser and HIR

Read first

Key crates

PathRole
crates/vox-compiler/src/lexerTokenization
crates/vox-compiler/src/parserRecursive descent → ast::decl::Module
crates/vox-compiler/src/hir/lowerAST → HirModule
crates/vox-compiler/src/hir/validate.rsStructural invariants
crates/vox-compiler/src/typeckHIR typechecking

Commands

cargo test -p vox-compiler
cargo test -p vox-compiler --test parser_recovery

Definition of done

  • 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.