Seattle.rb - parse_tree and ruby_parser

screenshot

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. ruby_parser ruby_parser (RP) is a ruby parser written in pure ruby (utilizing racc窶背hich 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.

http://parsetree.rubyforge.org/

pure-rubyruby parser

http://b.hatena.ne.jp/entry/http://parsetree.rubyforge.org/