[antlr-interest] How to best resolve ambiguity?
Terence Parr
parrt at cs.usfca.edu
Fri Dec 30 19:56:48 PST 2005
On Dec 30, 2005, at 7:52 PM, Jeff Barnes wrote:
> Yeah, I had to rub my eyes a few times when I compiled this the
> first time:
>
> public class Test
> {
> public static void main(String[] args)
> {
> byte[] a = {0,0,0,}
> ;
> ;
> ;
> }
> }
Yeah, the only ambiguities I think I get in the python parser grammar
are from wackiness such as this. ;)
Ter
More information about the antlr-interest
mailing list