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: 6,816 of 180,416
Downloads: 475,636
Daily
Ranking: 12,595 of 180,403
Downloads: 39
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
Rank | Downloads | Name |
---|---|---|
11,216 | 174,067 | merb-action-args |
12,042 | 153,430 | dm-sweatshop |
16,148 | 91,776 | heckle |
16,419 | 89,309 | red |
17,887 | 78,038 | ambition |
21,926 | 57,817 | sake |
25,255 | 47,281 | warden-googleapps |
33,530 | 32,188 | integrity |
33,896 | 31,714 | gem_velocity |
34,060 | 31,521 | foca-integrity |
35,315 | 30,070 | dm-ambition |
36,378 | 28,891 | ri_for |
37,628 | 27,690 | rdp-arguments |
42,726 | 23,581 | rogerdpack-arguments |
43,442 | 23,056 | alphasights-integrity |
45,298 | 21,801 | rails_action_args |
53,283 | 17,485 | desc_method |
53,734 | 17,304 | benhoskings-ambition |
68,140 | 12,479 | virtual_keywords |
68,219 | 12,456 | nitpick |
Depends on
Rank | Downloads | Name |
---|---|---|
20 | 797,096,633 | minitest |
214 | 145,830,930 | rdoc |
269 | 116,013,753 | sexp_processor |
1,949 | 8,399,356 | hoe |
2,132 | 7,121,621 | RubyInline |