From: Gene Tani Date: 2006-02-02T23:23:17+09:00 Subject: Re: Parsing Ruby with Ruby John Wells wrote: > Guys, > > I'd like to write a code analysis tool that could read Ruby or Rails > projects (so both standard .rb files and also erb files) and do some > simple code analysis and metrics, like what methods are called (and how > many times), etc, etc. > > What libraries or tools are out there that might help one accomplish this? > > Thanks! > > John Actually, I think you're looking for libs that expose language services, so: (best place to look) http://rubyforge.org/softwaremap/trove_list.php?form_cat=45&discrim=306 also: http://rubyforge.org/projects/input/ http://rubyforge.org/projects/rubygrammar/ http://www.zenspider.com/ZSS/Products/CocoR/index.html http://rubyforge.org/projects/coco-ruby/