RubyGems Navigation menu

fabiokung-ruby_parser 2.0.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) if arg1 == 0 then return 1 end return 0 end becomes: s(:defn, :conditional1, s(:args, :arg1), s(:scope, s(:block, s(:if, s(:call, s(:lvar, :arg1), :==, s(:arglist, s(:lit, 0))), s(:return, s(:lit, 1)), nil), s(:return, s(:lit, 0)))))

Gemfile:
= Copy to clipboard Copied!

Installeer:
=

Versies:

  1. 2.0.3 - August 11, 2014 (73,5 KB)
  2. 2.0.2 - August 11, 2014 (73,5 KB)

Runtime afhankelijkheden (3):

hoe >= 1.8.2
ParseTree >= 0

Authors:

  • Ryan Davis, Fabio Kung

SHA 256 checksum:

fc9bd3171852093a6ef89b47f61ce51048fffcc0f1de3fe014768110d3be26f5

Total downloads 6.393

Voor deze versie 3.827

Licenties:

N/A

Required Ruby Version: >= 0

Links: