compactp_lexer 0.1.0-beta.1

Lexer for the Compact language (Midnight Network) — tokenizes UTF-8 source into a SyntaxKind stream.
Documentation

compactp_lexer

Lexer for the Compact language (Midnight Network), part of the compactp parser frontend.

Tokenizes UTF-8 source bytes into a (SyntaxKind, &str) stream with byte offsets, suitable for direct consumption by compactp_parser. Each Compact keyword has a dedicated _KW SyntaxKind; literals and identifiers carry their text. The lexer never panics on arbitrary input (fuzz-tested).

Status

Beta (0.x). APIs may change between minor versions. See the compatibility matrix.

License

MIT