Java 1.5 CUP Grammar
This package contains a CUP grammar, and
supporting lexer code, for the Java 1.5 programming language.
It is based on a CUP Java grammar package by C. Scott Ananian
(hereafter called the ancestor package.) Relative to the ancestor
package, the current package has three substantial changes:
The ancestor package is Copyright (C) 2002 C. Scott Ananian, and
released under the terms of the released under the terms of the GNU
General Public License as published by the Free Software Foundation;
either version 2 of the License, or (at your option) any later
version. The changes to the ancestor package that produced the current package
are Copyright (C) 2006 Jeremy H. Brown, and released under the same
- The grammar now supports annotations.
- The grammar now works with the latest release of CUP (11a Beta.)
- Grammars for earlier versions of the Java language (1.1, 1.2, etc.)
which were provided in the ancestor package have been dropped
in this one.
Package versions, from most recent to least:
The ancestor package is available from these locations:
Jeremy H. Brown
Last modified: Wed Feb 22 21:59:02 EST 2006