Skip to main content
Help improve PyPI by participating in a 5-minute user interface survey!

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 notifications

This version
History Node

0.1.0

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page