Peter Goodman wrote:
> Another possibility is to allow commit points in grammars. Imagine Prolog's 
> cut operator, but used instead used as a way to say that once we're past 
> some symbol 
> in a phrase then if we fail to match the *production rule* then there has 
> been 
> a parse error.

For us old guys, this may be equivalent to Spitbol's fence operator. 
Once you pass a fence, no rule (not just the current one) can back up 
over it.

Bob

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

Reply via email to