RubyGems Navigation menu

parser 0.9.alpha

ruby_parser (RP) is a ruby parser written in pure ruby (utilizing racc--which does by default use a C extension). RP's output is the same as ParseTree's output: s-expressions using ruby's arrays and base types. As an example: def conditional1 arg1 return 1 if arg1 == 0 return 0 end becomes: s(:defn, :conditional1, s(:args, :arg1), s(:if, s(:call, s(:lvar, :arg1), :==, s(:lit, 0)), s(:return, s(:lit, 1)), nil), s(:return, s(:lit, 0)))

Versions:

  1. 2.3.0.pre.2 - June 15, 2015 (446 KB)
  2. 2.3.0.pre.1 - June 13, 2015 (377 KB)
  3. 2.2.2.6 - June 30, 2015 (362 KB)
  4. 2.2.2.5 - May 25, 2015 (362 KB)
  5. 2.2.2.3 - May 17, 2015 (362 KB)
Show all versions (70 total)

Runtime Dependencies:

Authors:

  • Peter Zotov

Owners:

89d887b50262bbe10225d36d974fdb0c644bcc0c58aa01920c4de4f941afcac9

Sha 256 checksum:

0c3148e90e790617fe773f6242f18963de5257132e2779d951b6a1d84731c970

Total downloads 3,137,046

For this version 205

Show all versions (70 total)

Required Ruby Version: None

Licenses:

N/A

Gemfile:
= Copy to clipboard Copied!

install:
= Copy to clipboard Copied!

Links: