parser is a production-ready Ruby parser written in pure Ruby. It
recognizes as much or more code than Ripper, Melbourne, JRubyParser
or ruby_parser, and is vastly more convenient to use.
.
Among its keys features are: it provides precise source location reporting, it
has a documented AST format which is convenient to work with, it parses 1.8,
1.9, 2.x, and 3.x syntax with backwards-compatible AST formats, and also parses
MacRuby and RubyMotion syntax extensions. It also has improved clang-like
diagnostic messages with location information.
.
It is written in pure Ruby, runs on MRI >= 2.0.0, JRuby and Rubinius, and
historically, all versions of Ruby since 1.8. It has excellent test coverage
and the source code is readable and well commented.
.
Not to be confused with ruby_parser gem from Ryan Davis, of seattle.rb
Ruby user group.
Installed Size: 5.2 MB
Architectures: all