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)))

Gemfile:
= 複製 已複製

安裝:
=

版本列表:

  1. 3.3.0.5 - January 21, 2024 (932.5 KB)
  2. 3.3.0.4 - January 15, 2024 (932.5 KB)
  3. 3.3.0.3 - January 12, 2024 (880.0 KB)
  4. 3.3.0.2 - January 07, 2024 (880.0 KB)
  5. 3.3.0.1 - January 06, 2024 (880.0 KB)
  6. 0.9.alpha - March 28, 2013 (152.0 KB)
顯示所有版本(共 150)

Runtime 相依性套件 (1):

Development 相依性套件 (4):

hoe ~> 3.5
minitest ~> 4.7
racc ~> 1.4.6
rdoc ~> 3.10

擁有者:

作者:

  • Peter Zotov

SHA 256 checksum:

0c3148e90e790617fe773f6242f18963de5257132e2779d951b6a1d84731c970

總下載次數 452,528,495

這個版本 3,129

License:

Ruby 版本需求:

RubyGems 版本需求: > 1.3.1

相關連結: