Expand description
Lexer and error-resilient CST for the .brink native surface.
This crate is the B0.5 grammar skeleton (docs/b0-sequencing.md
§B0.5): the token vocabulary and a lossless, error-resilient rowan CST
for the ruled native surface subset (docs/native-surface-charter.md
§5/§6, NF-2’s writer-sufficient subset). It performs no HIR
lowering, no resolution, no type-checking — those are B0.6/B0.7/B0.8.
Peer crate to brink-syntax (the ink frontend), per the NF-1 ruling: its
own SyntaxKind space, its own rowan tree, depending on nothing
ink-shaped.
Re-exports§
pub use lexer::lex;pub use parser::Parse;pub use parser::ParseError;pub use parser::ParseSeverity;pub use parser::parse;pub use parser::parse_with_cache;pub use syntax_kind::NativeLanguage;pub use syntax_kind::SyntaxElement;pub use syntax_kind::SyntaxKind;pub use syntax_kind::SyntaxNode;pub use syntax_kind::SyntaxToken;
Modules§
- ast
- Typed AST wrappers for the native
.brinkCST. - lexer
- parser
- syntax_
kind