Hello! I was discussing the semantics of "cut" expressions with Guido van Rossum in the context of the new PEG parser in Python, and I remembered that I first learned about "cut" through PROLOG grammars, way back in the '80s.
Thinking more about it, my intuition tells me that the semantics of the "Prolog grammar parser generator" are exactly those of PEG. This is probably well known, and I just don't remember it having been mentioned before. https://www.cpp.edu/~jrfisher/www/prolog_tutorial/7_1.html Regards, -- Juancarlo Añez mailto:apal...@gmail.com
_______________________________________________ PEG mailing list PEG@lists.csail.mit.edu https://lists.csail.mit.edu/mailman/listinfo/peg