Wolfram Language Paclet Repository
Community-contributed installable additions to the Wolfram Language
Parser combinators for the Wolfram Language - GrammarRules compatible, locally compiled, with a LaTeX math parser
Contributed by: Nikolay Murzin, Claude (Anthropic)
The package provides Parse and ParserCompile as the entry points, ParserCombinator as the single computable head every constructor returns, and the Parse* family of constructors - ParseLiteral, ParseCharacter, ParseSequence, ParseChoice, ParseMany, ParseSome, ParseOptional, ParseBetween, ParseAction, ParseRecursive, ParseLookahead, ParseNotFollowedBy, ParseTry. GrammarRules is accepted as input to Parse and lowered locally. LaTeXMathParse parses LaTeX math-mode source to a tree of Wolfram boxes.
To install this paclet in your Wolfram Language environment,
evaluate this code:
PacletInstall["Wolfram/Parser"]
To load the code after installation, evaluate this code:
Needs["Wolfram`Parser`"]
Wolfram Language Version 14.0