Skip to main content

Crate skullbrain_lexer

Crate skullbrain_lexer 

Source
Expand description

§Skullbrain Lexer

This crate provides a lexer for the Skullbrain language.

§Benchmark Results

Roughly between 40mb/s and 45mb/s for all inputs

Modules§

grammar
Provides constants of language tokens, particularly keywords and special symbols.

Structs§

Lexer
Traverses a character stream and produces tokens.
Token
A single token in the stream, consisting of its kind and span.

Enums§

Base
Base of numeric literal encoding according to its prefix.
ControlFlowKind
DeclarationKind
LiteralKind
Represents different types of literal values.
ModifierKind
OperatorKind
PunctuationKind
TokenKind
Different types of tokens in the language.