Parsing for Ruby that's so easy it feels like cheating.
Rattler is a parser generator for Ruby based on parsing expression grammars. Rattler's purpose is to make language design and recognition as simple and fun as possible. To that end, the normal parsing expression grammar syntax is extended with simple features to overcome some of the limitations of pure PEG grammars.
For the best documentation see the cucumber features
You may also wish to browse the API Docs
Add this line to your application's Gemfile:
And then execute:
Or install it yourself as:
$ gem install rattler
TODO: Write usage instructions here
- Fork it
- Create your feature branch (
git checkout -b my-new-feature)
- Commit your changes (
git commit -am 'Add some feature')
- Push to the branch (
git push origin my-new-feature)
- Create new Pull Request
Copyright (c) 2011 Jason Arhart. See LICENSE.txt for further details.