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?
Use ruby_parser or parse_tree: http://parsetree.rubyforge.org/
<http://parsetree.rubyforge.org/>Jason
···
On Tue, Oct 13, 2009 at 6:03 PM, Intransition <transfire@gmail.com> 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?
Thomas Sawyer 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
···
--
Posted via http://www.ruby-forum.com/\.
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.
···
On Oct 13, 6:18 pm, Jason Roelofs <jameskil...@gmail.com> wrote:
Use ruby_parser or parse_tree:http://parsetree.rubyforge.org/
<http://parsetree.rubyforge.org/>Jason
If that's all you need, you might try RubyLexer instead; it should
allow you to count comments and blank lines pretty easily.
···
On 10/13/09, trans <transfire@gmail.com> wrote:
On Oct 13, 6:18 pm, Jason Roelofs <jameskil...@gmail.com> wrote:
Use ruby_parser or parse_tree:http://parsetree.rubyforge.org/
<http://parsetree.rubyforge.org/>JasonOkay. 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.