parse_tree & ruby_parser
RDoc Bugs Download Name Description
RDoc Icon Report a Bug Icon Download Icon parse_tree 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.
RDoc Icon Report a Bug Icon Download Icon ruby_parser ruby_parser (RP) is a ruby parser written in pure ruby (utilizing racc—which does by default use a C extension). RP's output is the same as ParseTree's output: s-expressions using ruby's arrays and base types.