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.7.1.3 - May 26, 2020 (768 KB)
  2. 2.7.1.2 - April 29, 2020 (765 KB)
  3. 2.7.1.1 - April 14, 2020 (710 KB)
  4. 2.7.1.0 - April 03, 2020 (709 KB)
  5. 2.7.0.5 - March 20, 2020 (709 KB)
  6. 0.9.alpha - March 28, 2013 (152 KB)
Show all versions (121 total)

Runtime Dependencies (1):

Development Dependencies (4):

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

    Authors:

    • Peter Zotov

    SHA 256 checksum:

    0c3148e90e790617fe773f6242f18963de5257132e2779d951b6a1d84731c970

    Total downloads 105,052,112

    For this version 1,278

    Gemfile:
    = Copy to clipboard Copied!

    install:
    =

    Licenses:

    N/A

    Required Ruby Version: None

    Required Rubygems Version: > 1.3.1

    Links: