At 3:53 PM +1100 9/15/00, Fergus Henderson wrote:
>
>Doesn't that technique also solve the problem of left-recursion?
No, this cannot be detected to my knowledge. But by using pChainr and
pChainl combinators left recursion can easily be circumvented.
Resulting parsers often resemble better what one wants express than
left recursive formulations.
Doaitse
--
__________________________________________________________________________
S. Doaitse Swierstra, Department of Computer Science, Utrecht University
P.O.Box 80.089, 3508 TB UTRECHT, the Netherlands
Mail: mailto:[EMAIL PROTECTED]
WWW: http://www.cs.uu.nl/
PGP Public Key: http://www.cs.uu.nl/people/doaitse/
tel: +31 (30) 253 3962, fax: +31 (30) 2513791
__________________________________________________________________________