Module mathml::parsers

source ·

Modules§

  • This module contains parsers that perform some amount of preliminary domain-specific interpretation of presentation MathML (e.g., globbing S(t) to an identifier S of type ‘function’). This is in contrast to the generic_mathml.rs module that contains parsers that do not attempt to perform any interpretation but instead simply preserve the original MathML document structure.
  • 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