Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456 CUP Parser Generator for Java
Modified by Frank Flannery, C. Scott Ananian,
Dan Wang with advice from
Andrew W. Appel
Currently maintained by C. Scott Ananian (cananianalumni.princeton.edu).
Sep 1999 (v0.10k)
How do I get the line number where my parse error occurred?
Look at how the Grammar for Java below does it. That's canonical.
"Symbol recycling detected (fix your scanner)" -- help!
Your lexer can't return the same object twice; see the CHANGELOG entry
for 0.10j in the CUP distribution for more details.
Why haven't there been any releases recently? Because
CUP doesn't have any known bugs. Just "feature requests," and they
get very low priority if a patch isn't included with your request.
Copyright 1996-1999 by Scott Hudson, Frank Flannery, C. Scott Ananian
Permission to use, copy, modify, and distribute this software and its
documentation for any purpose and without fee is hereby granted,
provided that the above copyright notice appear in all copies and that
both the copyright notice and this permission notice and warranty
disclaimer appear in supporting documentation, and that the names of
the authors or their employers not be used in advertising or publicity
pertaining to distribution of the software without specific, written
prior permission.
The authors and their employers disclaim all warranties with regard to
this software, including all implied warranties of merchantability and
fitness. In no event shall the authors or their employers be liable
for any special, indirect or consequential damages or any damages
whatsoever resulting from loss of use, data or profits, whether in an
action of contract, negligence or other tortious action, arising out of
or in connection with the use or performance of this software.
This is an
open source
license. It is also
GPL-Compatible (see entry for "Standard ML of New Jersey").
The portions of CUP output which are hard-coded into the CUP source code
are (naturally) covered by this same license, as is the CUP runtime code linked
with the generated parser.
Java is a trademark of Sun Microsystems, Inc. References to the Java
programming language in relation to JLex are not meant to imply that Sun
endorses this product.