[Python-Dev] Bugs in the python grammar?

Duncan Booth duncan@rcp.co.uk
Tue, 13 Aug 2002 12:24:34 +0100

Guido van Rossum <guido@python.org> wrote in
> This one is correct (we use it to generate our parser):
> http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/python/python/dist/src/G
> rammar/Grammar?rev=1.48&content-type=text/vnd.viewcvs-markup 
> Or download Python and look at Grammar/Grammar .
Does the program for converting the grammar to a railroad diagram still 
exist anywhere? I've searched Google, but I can't find any trace of it 

Duncan Booth                                             duncan@rcp.co.uk
int month(char *p){return(124864/((p[0]+p[1]-p[2]&0x1f)+1)%12)["\5\x8\3"
"\6\7\xb\1\x9\xa\2\0\4"];} // Who said my code was obscure?