Skip to main content

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 | RSS feed

This release

0.1.0 This release

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page