plyplus
a friendly yet powerful LR-parser written in Python
a friendly yet powerful LR-parser written in Python
To install this package, run one of the following:
Plyplus is a general-purpose parser built on top of PLY (http://www.dabeaz.com/ply/), written in python, with a slightly different approach to parsing.
Most parsers work by calling a function for each rule they identify, which processes the data and returns to the parser. Plyplus parses the entire file into a parse-tree, letting you search and process it using visitors and pattern-matching.
Plyplus makes two uncommon separations: of code from grammar, and of processing from parsing. The result of this approach is (hopefully) a cleaner design, more powerful grammar processing, and a parser which is easier to write and to understand.
Features:
Summary
a friendly yet powerful LR-parser written in Python
Last Updated
Mar 23, 2018 at 19:47
License
MIT License or GNU General Public License (GPL)
Supported Platforms