Crate lexigram_core

Crate lexigram_core 

Source

Modules§

alt
char_reader
fixed_sym_table
lexer
log
macros
parser
segmap

Macros§

opcode
Generates an OpCode instance.
seg
Generates a Seg (tuple of u32 values) from one or two values (characters or integers).
strip
Generates an opcode strip. A strip is made up of OpCode items separated by a comma.
utf8
Replaces a few identifiers by their codepoint value, and casts character / integer literals to u32.

Traits§

CollectJoin

Type Aliases§

AltId
ID of a rule alternative. We use the same type as VarId because they’re very similar quantities.
TokenId
ID of a lexer token
VarId
ID of a nonterminal