Expand description
Bynk’s syntax foundation — the lowest leaf of the compiler crate set.
This crate holds the modules every other layer depends on and none depend
up from: the lexer, the parser and its AST, source spans, the
keywords table, the structured CompileError
type, and the diagnostics code registry (the single source of truth for
bynk.* codes). Diagnostics, positions, and codes therefore cross every
crate without an upward edge.
Extracted from bynkc as slice 1 of the crate-decomposition track (ADRs
0099 layering, 0102 foundation boundary). Behaviour is unchanged from when
these modules lived in bynkc; bynkc now re-exports them so its public
API is preserved.
Re-exports§
pub use error::CompileError;pub use error::Severity;pub use error::partition_by_severity;