Skip to content

Reference ​

Public API ​

itemwhat it is
LexerEnginethe trait a lexer implements
LexerRequestsource text + language + position, as handed to an engine
Lexerhandle over an engine; new / with_options construct it

Crate ​

craterole
hnl-engine-lexabstraction — contract only

Build and test ​

bash
cargo build     # sibling [patch] tables resolve deps from ../<repo>
cargo test      # no test suite here — covered by consumers

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