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,117 of 183,471
Downloads: 491,707
Daily
Ranking: 8,764 of 183,459
Downloads: 53
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
Rank | Downloads | Name |
---|---|---|
11,733 | 178,422 | merb-action-args |
12,609 | 156,712 | dm-sweatshop |
16,581 | 95,911 | heckle |
16,982 | 91,980 | red |
18,558 | 79,835 | ambition |
22,572 | 59,485 | sake |
26,150 | 48,300 | warden-googleapps |
34,497 | 33,072 | integrity |
34,633 | 32,911 | gem_velocity |
34,686 | 32,847 | foca-integrity |
36,142 | 31,092 | dm-ambition |
37,268 | 29,810 | ri_for |
38,632 | 28,487 | rdp-arguments |
43,356 | 24,565 | rogerdpack-arguments |
44,115 | 23,984 | alphasights-integrity |
46,377 | 22,441 | rails_action_args |
54,533 | 17,969 | benhoskings-ambition |
54,565 | 17,955 | desc_method |
68,310 | 13,192 | nitpick |
69,330 | 12,907 | virtual_keywords |
Depends on
Rank | Downloads | Name |
---|---|---|
19 | 910,051,170 | minitest |
210 | 172,448,676 | rdoc |
282 | 129,345,653 | sexp_processor |
2,104 | 8,603,943 | hoe |
2,240 | 7,679,812 | RubyInline |