Module lexer

Module lexer 

Source
Expand description

Lexer for the tokens of the STACK-Maxima syntax. Soem configuration Options are present:

  • LIST_SEP and DECIMAL_SEP can be adjusted.
  • Support for LISP-identifiers can be enabled, to parse some bits of the STACK-Maxima library isntead of just the questions.
  • +--operator related settings.

This lexer is not optimised for speed, it spends much time keeping track of the original position so that we can reference back to the original bytes should someone want to modify the source.

Structs§

StackMaximaLexer
The actual lexer object.
StackMaximaToken
Tokens.

Enums§

StackMaximaParserTokenType
Types of tokens.