Installation
[]
= "1"
Usage
A language defines its own token kind; token-lang pairs it with a Span and lets
generic code classify the stream.
use ;
let tokens = ;
// A parser skips trivia and stops at the end — without knowing the language.
let significant = tokens.iter.filter.count;
assert_eq!;
See docs/API.md for the full surface.
Status
Status: stable (1.0). v1.0.0 freezes the public
surface — the Token type and the TokenKind seam — under Semantic Versioning: no
breaking changes before 2.0. See the
ROADMAP and docs/API.md.
Contributing
See dev/DIRECTIVES.md for engineering standards and the definition of done. Before a PR: cargo fmt --all, cargo clippy --all-targets --all-features -- -D warnings, and cargo test --all-features must be clean.