RubyGems Navigation menu

ruby_parser 3.1.3

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. 3.18.1 - November 10, 2021 (620 KB)
  2. 3.18.0 - October 28, 2021 (620 KB)
  3. 3.17.0 - August 04, 2021 (573 KB)
  4. 3.16.0 - May 15, 2021 (571 KB)
  5. 3.15.1 - January 11, 2021 (515 KB)
  6. 3.1.3 - April 10, 2013 (139 KB)
Show all versions (70 total)

Runtime Dependencies (1):

Development Dependencies (4):

  • hoe ~> 3.5
  • minitest ~> 4.7
  • racc ~> 1.4.6
  • rdoc ~> 4.0
  • Owners:

    Authors:

    • Ryan Davis

    SHA 256 checksum:

    602b23bfde88e1cdcef113fd013ebf3735b06454372b3c9b5a5c14a5b161fa34

    Total downloads 64,274,375

    For this version 990,540

    Gemfile:
    = Copy to clipboard Copied!

    install:
    =

    Licenses:

    N/A

    Required Ruby Version: None

    Links: