Steve Holden wrote: > I wish you'd stop trying to defend this code and simply admit that it's > just a throwaway program to which no real significance should be > attached. *Then* I'll leave you alone ;-)
You're hurting my program's feelings! Actually, I intend to keep this program as the nice HTML version of the BNF that it produces is a big advance over the source from GvR. I'll rerun this from time to time to keep my BNF up to date. A second intent was to have the next sorry coder who searched for 'Python BNF' get a better answer than I got, which is already the case. The discussion re globals is entirely academic, of course, with this little program being merely illustrative. -- http://mail.python.org/mailman/listinfo/python-list