RubyPeg helps you to create readable Parsing Expression Grammars (PEG) in, err, ruby
Thomas Counsell, Green on Black Ltd
gem "rubypeg", "~> 0.0.3"