Module mathml::parsers::math_expression_tree
source · Expand description
Pratt parsing module to construct S-expressions from presentation MathML. This is based on the nice tutorial at https://matklad.github.io/2020/04/13/simple-but-powerful-pratt-parsing.html
Enums§
- New whitespace handler before parsing An S-expression like structure to represent mathematical expressions.
- Represents a token for the Pratt parsing algorithm.
Functions§
- Preprocesses a MathML string for conversion to LaTeX format.
- Replaces Unicode representations in the input string with their corresponding symbols.