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,796 of 188,756
Downloads: 474,236
Daily
Ranking: 10,513 of 188,734
Downloads: 73
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
Rank | Downloads | Name |
---|---|---|
11,170 | 173,672 | merb-action-args |
11,982 | 153,153 | dm-sweatshop |
16,114 | 91,471 | heckle |
16,362 | 89,120 | red |
17,827 | 77,850 | ambition |
21,853 | 57,696 | sake |
25,185 | 47,184 | warden-googleapps |
33,441 | 32,119 | integrity |
33,846 | 31,611 | gem_velocity |
34,018 | 31,406 | foca-integrity |
35,246 | 29,984 | dm-ambition |
36,286 | 28,820 | ri_for |
37,552 | 27,619 | rdp-arguments |
42,660 | 23,485 | rogerdpack-arguments |
43,387 | 22,972 | alphasights-integrity |
45,217 | 21,743 | rails_action_args |
53,188 | 17,441 | desc_method |
53,655 | 17,253 | benhoskings-ambition |
68,080 | 12,437 | virtual_keywords |
68,112 | 12,426 | nitpick |
Depends on
Rank | Downloads | Name |
---|---|---|
20 | 787,713,697 | minitest |
213 | 143,872,090 | rdoc |
269 | 114,815,992 | sexp_processor |
1,935 | 8,368,403 | hoe |
2,126 | 7,062,837 | RubyInline |