Jonathan Edwards wrote:
> Is there a parser for ruby syntax that identifies the exact ranges of 
> characters for each nonterminal? I need this to instrument ruby code. 
> Just getting line numbers is not adequate.

irb has a lexer that is pretty easy to use. I think it only stores
the beginning location, though, but it should be easy to get the
range.

No example handy, sorry... if you can't figure it out, I can assist,
though...

Hal