Categories: None [Edit]
ParseTree
ParseTree is a C extension (using RubyInline) that extracts the parse
tree for an entire class or a specific method and returns it as a
s-expression (aka sexp) using ruby's arrays, strings, symbols, and
integers.
As an example:
def conditional1(arg1)
if arg1 == 0 then
return 1
end
return 0
end
becomes:
[:defn,
:conditional1,
[:scope,
[:block,
[:args, :arg1],
[:if,
[:call, [:lvar, :arg1], :==, [:array, [:lit, 0]]],
[:return, [:lit, 1]],
nil],
[:return, [:lit, 0]]]]]
Total
Ranking: 7,654 of 187,239
Downloads: 516,107
Daily
Ranking: 7,289 of 187,224
Downloads: 164
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
Rank | Downloads | Name |
---|---|---|
12,353 | 185,211 | merb-action-args |
13,299 | 160,941 | dm-sweatshop |
16,908 | 102,791 | heckle |
17,668 | 95,747 | red |
19,361 | 82,324 | ambition |
23,289 | 62,141 | sake |
26,959 | 50,411 | warden-googleapps |
35,081 | 35,104 | gem_velocity |
35,274 | 34,841 | integrity |
35,281 | 34,835 | foca-integrity |
37,080 | 32,528 | dm-ambition |
38,006 | 31,499 | ri_for |
39,664 | 29,773 | rdp-arguments |
43,659 | 26,289 | rogerdpack-arguments |
44,717 | 25,454 | alphasights-integrity |
47,447 | 23,493 | rails_action_args |
55,709 | 18,861 | benhoskings-ambition |
56,229 | 18,636 | desc_method |
68,982 | 14,013 | nitpick |
70,810 | 13,485 | virtual_keywords |
Depends on
Rank | Downloads | Name |
---|---|---|
16 | 1,076,711,297 | minitest |
185 | 241,836,103 | rdoc |
315 | 138,715,178 | sexp_processor |
2,286 | 8,954,469 | hoe |
2,355 | 8,407,533 | RubyInline |