I played around with parslet a couple months ago when I saw the 
announcement, and loved it. Very nicely done, well-structured, easy to 
use, thanks.

Today, I tried firing up parslet on a different machine, and am getting 
errors trying to use it. When calling #parse a class that subclasses  
Parslet::Parser, I get:

/usr/lib64/ruby/gems/1.8/gems/parslet-1.2.0/lib/parslet/atoms/re.rb:16: 
warning: regexp has invalid interval
/usr/lib64/ruby/gems/1.8/gems/parslet-1.2.0/lib/parslet/atoms/re.rb:16: 
warning: regexp has `}' without escape
NoMethodError: undefined method `tap' for \\\" (SPACING? TOKEN 
SPACING?){1, } \\\":Parslet::Atoms::Re
         from 
/usr/lib64/ruby/gems/1.8/gems/parslet-1.2.0/lib/parslet/atoms/entity.rb:25:in 
`parslet'


That last being a fatal error.

Any ideas? I have noticed that this machine has ruby 1.8.6 installed, is 
that the problem, do I need 1.8.7?

Thanks for any help.

Reply via email to