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,646 of 186,947
Downloads: 512,219
Daily
Ranking: 7,266 of 186,938
Downloads: 148
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
Rank | Downloads | Name |
---|---|---|
12,321 | 184,200 | merb-action-args |
13,257 | 159,952 | dm-sweatshop |
16,899 | 101,773 | heckle |
17,655 | 94,904 | red |
19,336 | 81,680 | ambition |
23,282 | 61,505 | sake |
26,936 | 49,908 | warden-googleapps |
35,062 | 34,718 | gem_velocity |
35,124 | 34,645 | foca-integrity |
35,334 | 34,345 | integrity |
37,074 | 32,167 | dm-ambition |
38,022 | 31,123 | ri_for |
39,634 | 29,457 | rdp-arguments |
43,755 | 25,913 | rogerdpack-arguments |
44,552 | 25,282 | alphasights-integrity |
47,346 | 23,262 | rails_action_args |
55,369 | 18,778 | benhoskings-ambition |
56,149 | 18,449 | desc_method |
68,942 | 13,862 | nitpick |
70,391 | 13,436 | virtual_keywords |
Depends on
Rank | Downloads | Name |
---|---|---|
15 | 1,065,284,090 | minitest |
188 | 236,480,412 | rdoc |
312 | 137,997,192 | sexp_processor |
2,270 | 8,918,680 | hoe |
2,342 | 8,352,940 | RubyInline |