Crate stack_maxima_parser

Crate stack_maxima_parser 

Source
Expand description

Parser for STACK-Maxima

For parsing STACK-logic.

Fully position tracking, all parse results will provide position data both in lines/columns as well as bytes in the source.

The lexer portion is tunable and can be adjusted to work with other decimal separators.

The parser itself has logic for inserting missing multiplication-signs or for those working with STACK keyvals, missing semicolons.

Modulesยง

lexer
Lexer for the tokens of the STACK-Maxima syntax. Soem configuration Options are present:
parser
Parser with some object-definitions and utility functions for those objects.