Robert Grimm wrote:
> I agree with Terence in that ambiguity vs. ordering is a trade-off.
> With CFGs you may get unnecessary ambiguity and with PEGs you may get
> subtle ordering errors.

Ah, so now you're persuading me the other way.  At least with ambiguity, you
can discover the problem when the grammar is compiled, but subtle ordering
errors you may or may not discover...

Cheers,

David


_______________________________________________
PEG mailing list
PEG@lists.csail.mit.edu
https://lists.csail.mit.edu/mailman/listinfo/peg

Reply via email to