{"name":"ParseTree","downloads":547265,"version":"3.0.9","version_created_at":"2012-05-01T23:39:27.004Z","version_downloads":92529,"platform":"ruby","authors":"Ryan Davis","info":"ParseTree is a C extension (using RubyInline) that extracts the parse\ntree for an entire class or a specific method and returns it as a\ns-expression (aka sexp) using ruby's arrays, strings, symbols, and\nintegers.\n\nAs an example:\n\n  def conditional1(arg1)\n    if arg1 == 0 then\n      return 1\n    end\n    return 0\n  end\n\nbecomes:\n\n  [:defn,\n    :conditional1,\n    [:scope,\n     [:block,\n      [:args, :arg1],\n      [:if,\n       [:call, [:lvar, :arg1], :==, [:array, [:lit, 0]]],\n       [:return, [:lit, 1]],\n       nil],\n      [:return, [:lit, 0]]]]]","licenses":null,"metadata":{"homepage_uri":"https://github.com/seattlerb/parsetree"},"yanked":false,"sha":"ab9abdce14b77632abac47d066a2263de6e34cb280267afec33013af7c9e4b35","spec_sha":"882195d9f21170df605dd6d8bb4ab95b42ecc993667e9aa959af142a42ad82fd","project_uri":"https://rubygems.org/gems/ParseTree","gem_uri":"https://rubygems.org/gems/ParseTree-3.0.9.gem","homepage_uri":"https://github.com/seattlerb/parsetree","wiki_uri":null,"documentation_uri":null,"mailing_list_uri":null,"source_code_uri":null,"bug_tracker_uri":null,"changelog_uri":null,"funding_uri":null,"dependencies":{"development":[{"name":"hoe","requirements":"~> 3.0"},{"name":"minitest","requirements":"~> 2.12"},{"name":"rdoc","requirements":"~> 3.10"}],"runtime":[{"name":"RubyInline","requirements":"~> 3.9.0"},{"name":"sexp_processor","requirements":"~> 3.2.0"}]}}