Ruby Ripper less Ruby 1.9

Can’t seem to find much on this. The last post I could find dated back
to 2006. I take it Ripper still can’t be used with 1.8.x?

On Oct 13, 6:18 pm, Jason R. [email protected] wrote:

Use ruby_parser or parse_tree:http://parsetree.rubyforge.org/
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.

Use ruby_parser or parse_tree: http://parsetree.rubyforge.org/
http://parsetree.rubyforge.org/Jason

On 10/13/09, trans [email protected] wrote:

On Oct 13, 6:18 pm, Jason R. [email protected] wrote:

Use ruby_parser or parse_tree:http://parsetree.rubyforge.org/
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.

Thomas S. wrote:

Can’t seem to find much on this. The last post I could find dated back
to 2006. I take it Ripper still can’t be used with 1.8.x?

You might get some leverage with RACC, but I don’t know.
-r