|Seeking bison/yacc grammar for Java language firstname.lastname@example.org (Evil B) (2004-04-29)|
|Re: Seeking bison/yacc grammar for Java language email@example.com (Scott Nicol) (2004-05-02)|
|Re: Seeking bison/yacc grammar for Java language firstname.lastname@example.org (glen herrmannsfeldt) (2004-05-02)|
|Re: Seeking bison/yacc grammar for Java language email@example.com (Jose Antonio) (2004-05-08)|
|From:||Evil B <firstname.lastname@example.org>|
|Date:||29 Apr 2004 12:03:37 -0400|
|Keywords:||Java, parse, question|
|Posted-Date:||29 Apr 2004 12:03:37 EDT|
Does anyone have a working yacc/bison grammar for the full java language?
I've been tinkering away at one for a few days, but have hit a roadblock:
When adding 'Type . class' to 'PrimaryNoNewArray' , I end up with 10
shift/reduce and 2 reduce/reduce conflicts, and most java sources fail
But when I remove this, I only have 4 shift/reduce conflicts, and nearly
all sources parse successfully (except those with 'Type . class'
I don't want to battle any longer, in case someone has already solved
the issues and is willing to share their work.
Return to the
Search the comp.compilers archives again.