Project

rattler

0.03
No commit activity in last 3 years
No release in over 3 years
Simple language recognition tool for Ruby based on packrat parsing
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
 Dependencies

Development

 Project Readme

Rattler

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.

Documentation

For the best documentation see the cucumber features

You may also wish to browse the API Docs

Installation

Add this line to your application's Gemfile:

gem 'rattler'

And then execute:

$ bundle

Or install it yourself as:

$ gem install rattler

Usage

TODO: Write usage instructions here

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Copyright

Copyright (c) 2011 Jason Arhart. See LICENSE.txt for further details.