RubyGems.org

redparse

0.8.4

RedParse is a ruby parser written in pure ruby. Instead of YACC or ANTLR, it's parse tool is a home-brewed "compiler-interpreter". (The tool is LALR(1)-equivalent and the 'parse language' is pretty nice, even in it's current crude form.) My intent is to have a completely correct parser for ruby, in 100% ruby. Currently, RedParse can parse all known ruby 1.8 constructions correctly. There might be some problems with unparsing or otherwise working with texts in a character set other than ascii. Some of the new ruby 1.9 constructions are supported in 1.9 mode. For more details on known problems, see below.

installgem install redparse
Authors

Caleb Clausen

3,284 total downloads 1,005 for this version
Owners

A189186f516cf97e6172737bd4683bf6

Gemfile
gem "redparse", "~> 0.8.4"
Versions
  1. 0.8.4 January 3, 2010
  2. 0.8.3 July 6, 2009
  3. 0.8.2 May 22, 2009
  4. 0.8.1 April 30, 2009
  5. 0.8.0 October 21, 2008