Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

an easy but powerful parser

Project Description

Parsing is easy!

With Peasy, you write the parser by hand, just like to write any other kind of program. You need not play many balls like that any more <https://raw.github.com/chaosim/peasy/master/doc/ballacrobatics.jpg> You just play one ball like so <https://raw.github.com/chaosim/peasy/master/doc/dolphinball.jpg>.

To use Peasy, just copy the module to your project, read it, modify it, write the grammar rules,, and remove any unnecessary stuffs in Peasy, and parse with the grammar. See here <http://chaosim.github.io/peasy/doc/pypeasy.html#peasysample>. for a sample grammar in Peasy.

Documentation

The annotated peasy.py<http://chaosim.github.io/peasy/doc/pypeasy.html>. is best document for Peasy at the moment. See the tests in /test, and you’ll see some samples of left recursive grammars and how to parse them.

Web sites

the project’s repository is on github <https://github.com/chaosim/peasy>.

Testing

Peasy uses the nose test framework, see the folder “test”

Bug reports

To report or search for bugs, please goto <https://github.com/chaosim/peasy/issues>, or email to simeon.chaos@gmail.com

Platform notes

peasy is developed and tested on Windows 7, python 2.7.3

License

MIT: see LICENSE

Release History

Release History

This version
History Node

0.1.0

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting