[Python-Dev] Bugs in the python grammar?
Guido van Rossum
guido@python.org
Tue, 13 Aug 2002 05:11:01 -0400
> We've been digging through the python grammar, looking to build up a
> parser for it, and have come across what look to be bugs:
>
> In http://www.python.org/doc/current/ref/grammar.txt :
I don't know where that file comes from; it's not the official
grammar. Fred will fix the typos you found.
This one is correct (we use it to generate our parser):
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/python/python/dist/src/Grammar/Grammar?rev=1.48&content-type=text/vnd.viewcvs-markup
Or download Python and look at Grammar/Grammar .
--Guido van Rossum (home page: http://www.python.org/~guido/)