ParseTree 1.6.1 Released

ParseTree version 1.6.1 has been released!

zenspider projects | software projects | by ryan davis

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.

Changes:

  • 2 minor enhancements:

    • Have been going insane on the tests, expect more soon.
    • Cleaned up using named nodes, now do: args = exp.scope.block.args
      (:delete).
  • 2 bug fixes:

    • Fixed #parse_tree to return superclass in :const node.
    • Fixed while/until with no bodies (now nil).

    zenspider projects | software projects | by ryan davis