a = b = 1 just syntactic sugar?

Courageous jkraska at san.rr.com
Tue Jun 10 11:47:48 EDT 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.

C//

http://www.antlr.org





More information about the Python-list mailing list