in reply to Re: Parse::RecDescent Grammar Questions
in thread Parse::RecDescent Grammar Questions

Isn't the expression "reduce-reduce conflict" exclusive to LR parsers? P::RD is a LL parser.
  • Comment on Re^2: Parse::RecDescent Grammar Questions

Replies are listed 'Best First'.
Re^3: Parse::RecDescent Grammar Questions
by pc88mxer (Vicar) on May 20, 2008 at 21:37 UTC
    Yeah, you're probably right. In this case Parse::RecDescent probably resolves it by choosing one without informing you that there are other options - just my guess, though.

      It always tries them in order until one succeeds. If none do, it backtracks.

      In this case, the first one always succeeds (seeing as it can match zero items).