Parsing is a package the provides a framework for building parsers. It introduces Parser, a type of function that parses a sequence of tokens, and Analyzer, a type of function that accepts input for the parser in its original form and separates it into a stream of tokens. A parser can be combined with an analyzer: see Parser : Analyzer, to produce a complete system for accepting input and parsing it.
See the package Classic for a good example of the use of this framework.
This documentation describes version 1.0 of Parsing, released June, 2006.
If you have used this package in your research, please cite it as follows:
|
The source of this document is in /build/reproducible-path/macaulay2-1.25.06+ds/M2/Macaulay2/packages/Parsing.m2:184:0.