a = b = 1 just syntactic sugar?

Courageous jkraska at san.rr.com
Tue Jun 10 17:47:48 CEST 2003

>Actually, I believe it will chose the alternative that is earliest in
>the YACC input file (atleast bison does that).

This is one of the reasons I prefer ANTRL. In ANTLR grammars, one
cannot continue generating the parser until one either resolves the
ambiguity, or deliberately suppresses it.



More information about the Python-list mailing list