[antlr-interest] Failure on OpenJDK on Debian

Jim Idle jimi at temporal-wave.com
Tue Mar 31 12:59:01 PDT 2009


Gavin Lambert wrote:
> At 02:44 1/04/2009, Ola Bini wrote:
>  >I have a grammar that works well with several different Java 5 
> and
>  >Java 6 environments on both Windows, Linux and MacOS X 
>
>  >input
>  >     [java] Java Result: 1
>
> Looks like your lexer rules are ambiguous (which probably isn't 
> helped by the fact that you're also using literals in your parser 
> rules).  You should definitely consider correcting your rules so 
> that the ambiguity warnings go away; doing that should make the 
> error go away as well.
>
>   
I think that it just looks like that and that in fact the dfa conversion 
is timing out on the machine running OpenJDK. Whether this is the speed 
of machine, or problems with OpenJDK 64 bit is debatable.

Jim


More information about the antlr-interest mailing list