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]]]]]
Activity
- Latest release
- 14y ago
- Total releases
- 36
- Cadence
- ~36 days
- Last 12 months
- 0
Details
- First release
- Nov 20, 2004
Releases
| Version | Released | |
|---|---|---|
3.0.9
patch
| ||
3.0.8
patch
| ||
3.0.7
patch
| ||
3.0.6
patch
| ||
3.0.5
patch
| ||
3.0.4
patch
| ||
3.0.3
patch
| ||
3.0.2
patch
| ||
3.0.1
patch
| ||
3.0.0
major
| ||
2.2.0
minor
| ||
2.1.0
minor
| ||
2.1.1
patch
| ||
2.0.2
patch
| ||
2.0.1
patch
| ||
2.0.0
major
| ||
1.7.1
patch
| ||
1.7.0
minor
| ||
1.6.4
patch
| ||
1.6.3
patch
| ||
1.6.2
patch
| ||
1.6.1
patch
| ||
1.6.0
minor
| ||
1.5.0
minor
| ||
1.4.1
patch
| ||
1.4.0
minor
| ||
1.3.7
patch
| ||
1.3.6
patch
| ||
1.3.5
patch
| ||
1.3.4
patch
| ||
1.3.3
patch
| ||
1.3.2
patch
| ||
1.3.0
minor
| ||
1.2.0
minor
| ||
1.1.0
initial
| ||
1.1.1
patch
|