See the section entitled "Left-recurse ye not!" where the following example is given.
The left-recursive: Addition: Addition '+' Term | Term
Can be handled as follows: Addition: (Term '+')(s?) Term
--
John.
In reply to Re: Eliminating Left Recursion in Parse::RecDescent
by jmcnamara
in thread Eliminating Left Recursion in Parse::RecDescent
by demerphq
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |