From: Ryan Davis Date: 2010-08-24T10:16:21+09:00 Subject: Re: Static code analysis in Ruby 1.9 On Aug 23, 2010, at 14:59 , Suraj Kurapati wrote: > Hubert Lepicki wrote: >> I am wondering if there is any way to perform sort of static code >> analysis for Ruby 1.9 based programs. > > See the Ripper standard library which comes with Ruby 1.9: > http://www.artweb-design.de/2009/7/5/using-ruby-1-9-ripper Unfortunately that doesn't really help him much. He's still left hanging with actually analyzing the code. I've got a code contribution that will convert ripper output into unified ParseTree-compatibile output, but I haven't gotten around to integrating it. I think I'm probably going to use it to sanity check my parser as I add 1.9 compatibility to it.