Yaccable Java grammar available

Bronnikov@aol.com
8 Apr 1996 23:25:15 -0400

          From comp.compilers

Related articles
Yaccable Java grammar available Bronnikov@aol.com (1996-04-08)
| List of all articles for this month |

From: Bronnikov@aol.com
Newsgroups: comp.compilers
Date: 8 Apr 1996 23:25:15 -0400
Organization: Compilers Central
Keywords: parse, Java

A Java grammar (yaccable) is available in the compilers archive at
ftp://iecc.com/pub/file/java-grammar.y.gz.


I've tested it using all demos from JDK, and it can be used with no
restrictions.


YACC reports four 'good' shift/reduce conflicts. One is if-then-else.
The rest are identical, they result from '.' being used to qualify
both members and types. There is a banner in the grammar with more
details on modifications/conflicts.


Any response is welcome.


Dmitri


--


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.