Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install plyplus

How to install PlyPlus

  1. Download and install ActivePython
  2. Buy and install the Business Edition license from account.activestate.com
  3. Open Command Prompt
  4. Type pypm install plyplus

PlyPlus contains builds that are only available via PyPM when you have a current ActivePython Business Edition subscription.

 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
Windows (64-bit)
Mac OS X (10.5+)
Linux (32-bit)
0.1.2
0.1.2 Available View build log
0.1.1 Available View build log
Linux (64-bit)
0.1.2
0.1.2 Available View build log
0.1.1 Available View build log
 
Author
License
MIT/GPL

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:

  • Automatically builds an AST. Customizable in grammar (expand and flatten nodes automatically)
  • Selectors: run powerful queries on the AST
  • Rule operators mimicking regular expressions (supported: parentheses, '|', '*', '?', and '+')
  • Comes with a full, flexible, Python grammar
  • Nested grammars (a grammar within a grammar. Useful for HTML/CSS, for example)
  • Automatic line counting
  • From PLY: Readable errors, Debug mode
  • And more! ...

Subscribe to package updates

Download Stats

Last month:1

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.