> Yves wrote:
> > First :Try using here docs instead of q{}.  They make your grammar
> > much cleaner. (and avoid potential issues with \ which I suspect you
> > may be suffering).  

Wow. I wrote that ages ago... Clearing out your inbox maybe?
 
> I will try this if necessary, but it seems unnecessary
> right now (things are working fine).

Yah it only enables cleaner code.

> 
> > Second:I wonder if using reserved words as rule names
> > is part of the weirdness you describe.  
> 
> I replaced reserved words with nonreserved, and things
> seem to be settled down.

Aha!

> I tried the parser you wrote, with symbol storage, but it
> was significantly (30% or so) slower to invoke P::RD
> repeatedly on strings than it was to build a
> function-based parse tree and reevaluate the tree when
> necessary. 

Heh... I never said it would be _fast_ :-)

Cheers, Yves

Reply via email to