From: Caleb Clausen Date: 2009-10-15T01:53:33+09:00 Subject: Re: Ruby Ripper less Ruby 1.9 On 10/13/09, trans wrote: > > > On Oct 13, 6:18 pm, Jason Roelofs wrote: >> Use ruby_parser or parse_tree:http://parsetree.rubyforge.org/ >> Jason > > Okay. That's what is currently being used. > > I was interested in Ripper's scanner so I could do more fine grain > analysis, e.g. count comments and blank lines. If that's all you need, you might try RubyLexer instead; it should allow you to count comments and blank lines pretty easily.