[squeak-dev] grammarPEG : Grammar <- Definition+ !. what is the !.

gettimothy gettimothy at zoho.com
Thu Apr 16 13:43:52 UTC 2020


In XTreams-Parsing ->PEGParser class->grammarPEG



is a Rule 



Grammar			<-	Definition+ !.






Which I believe means "Only 1 or more definitions and nothing else"  where "!." means "nothing else"



I suspect that the !. was put there to radically tighten down the allowed inputs to a PEG grammar.



Is this assumption correct?





thanks in advance.



tty
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20200416/8aa57a80/attachment.html>


More information about the Squeak-dev mailing list