Skip to content

Reference ​

Public API ​

itemwhat it is
TypecheckEnginethe trait a checker implements
TypecheckRequest / TypecheckResultinput (AST, language, options) and output (diagnostics, accepted AST)
TypecheckReport / TypecheckDiagnosticstructured, renderable diagnostics
check_module, check_module_with_preludeconvenience entry points, optionally seeding a prelude
CheckError, is_cleanfailure kind, and the quick «no diagnostics» test

Crate ​

craterole
hnl-engine-typecheckabstraction + bootstrap checker

Build and test ​

bash
cargo build     # sibling [patch] tables resolve deps from ../<repo>
cargo test      # cargo test

Dependencies are git deps on branch = "main"; locally the [patch] tables point at sibling checkouts (regenerated by host/scripts/dev-link.sh).