ruby-whitequark-parser

Ruby parser written in pure Ruby

Description

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.

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Homepage

https://github.com/whitequark/parser


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install ruby-whitequark-parser