Skip to main content

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

Project details


Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page