> But if you look at Grammar/Grammar you will notice that atom goes to STRING+
> which should cover this.

Of course, otherwise it wouldn't work! :-)

> Is that grammar.txt file generated from
> Grammar/Grammar or is it done by hand?

By hand. The reference manual has more detail (Grammar/Grammar doesn't
say anything about what a STRING is, or other literals) and presents
some rules in a more readable form which wouldn't work for
Grammar/Grammar given the LL1 constraints of pgen. It also chooses
more readable names. But the translation process is fallible.


-- 
--Guido van Rossum (home page: http://www.python.org/~guido/)
_______________________________________________
Python-Dev mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to