| 1 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 2 |
<html xmlns="http://www.w3.org/1999/xhtml"> |
| 3 |
<!-- |
| 4 |
|
| 5 |
Copyright (c) 2006, Sun Microsystems, Inc. |
| 6 |
All rights reserved. |
| 7 |
|
| 8 |
Redistribution and use in source and binary forms, with or without |
| 9 |
modification, are permitted provided that the following conditions are met: |
| 10 |
|
| 11 |
* Redistributions of source code must retain the above copyright notice, |
| 12 |
this list of conditions and the following disclaimer. |
| 13 |
* Redistributions in binary form must reproduce the above copyright |
| 14 |
notice, this list of conditions and the following disclaimer in the |
| 15 |
documentation and/or other materials provided with the distribution. |
| 16 |
* Neither the name of the Sun Microsystems, Inc. nor the names of its |
| 17 |
contributors may be used to endorse or promote products derived from |
| 18 |
this software without specific prior written permission. |
| 19 |
|
| 20 |
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
| 21 |
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
| 22 |
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
| 23 |
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE |
| 24 |
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR |
| 25 |
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF |
| 26 |
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS |
| 27 |
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN |
| 28 |
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
| 29 |
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF |
| 30 |
THE POSSIBILITY OF SUCH DAMAGE. |
| 31 |
|
| 32 |
--> |
| 33 |
<head> |
| 34 |
<meta name="download" content="yes" /> |
| 35 |
<meta name="download.javacc" content="download.html" /> |
| 36 |
<title>JavaCC Home</title> |
| 37 |
<!-- Changed by: Michael Van De Vanter, 15-Jan-2003 --> |
| 38 |
</head> |
| 39 |
<body bgcolor="#FFFFFF" > |
| 40 |
|
| 41 |
<h1>Java Compiler Compiler [tm] (JavaCC [tm]) - The Java Parser Generator</h1> |
| 42 |
|
| 43 |
|
| 44 |
<p> |
| 45 |
Java Compiler Compiler [tm] (JavaCC [tm]) is the most popular parser |
| 46 |
generator for use with Java [tm] applications. A parser generator is a |
| 47 |
tool that reads a grammar specification and converts it to a Java |
| 48 |
program that can recognize matches to the grammar. In addition to |
| 49 |
the parser generator itself, JavaCC provides other standard capabilities |
| 50 |
related to parser generation such as tree building (via a tool |
| 51 |
called JJTree included with JavaCC), actions, |
| 52 |
debugging, etc. |
| 53 |
</p> |
| 54 |
|
| 55 |
<p> |
| 56 |
We've had hundreds of thousands of downloads and estimate serious |
| 57 |
users in the many thousands (and maybe even tens of thousands). Our |
| 58 |
newsgroup <strong>comp.compilers.tools.javacc</strong> and our <a |
| 59 |
href="http://javacc.dev.java.net/servlets/ProjectMailingListList">mailing list</a> together have a few thousand |
| 60 |
participants. |
| 61 |
</p> |
| 62 |
|
| 63 |
<p> |
| 64 |
JavaCC works with any Java VM version 1.2 or greater. It has been |
| 65 |
certified to be 100% Pure Java. JavaCC has been tested on countless |
| 66 |
different platforms without any special porting requirements. Given |
| 67 |
that we have seen JavaCC run on only around 5 or 6 platforms, we think |
| 68 |
this is a great testimonial to the "Write Once Run Anywhere" aspect of |
| 69 |
the Java programming language. We say this as engineers who have personally experienced the |
| 70 |
benefits of writing Java applications. |
| 71 |
</p> |
| 72 |
|
| 73 |
<hr /> |
| 74 |
|
| 75 |
<h2>Getting the Software</h2> |
| 76 |
|
| 77 |
<p><a href="http://javacc.dev.java.net/servlets/ProjectDocumentList">Download</a> the latest release of JavaCC.</p> |
| 78 |
|
| 79 |
<p><i>Note: You need to enable cookies for the download link to work.</i></p> |
| 80 |
|
| 81 |
<h3>Third party contributions</h3> |
| 82 |
|
| 83 |
<p> |
| 84 |
An excellent <a |
| 85 |
href="http://www.engr.mun.ca/~theo/JavaCC-FAQ/">FAQ</a> is maintained |
| 86 |
by Theo Norvell at Memorial University of Newfoundland. |
| 87 |
</p> |
| 88 |
|
| 89 |
<p> |
| 90 |
A <a href="https://javacc.dev.java.net/servlets/ProjectDocumentList?folderID=110">repository of |
| 91 |
JavaCC grammars</a> is being maintained on the JavaCC home page. We |
| 92 |
urge you to contribute your grammars to this repository or to the |
| 93 |
JavaCC authors for the benefit of others. |
| 94 |
</p> |
| 95 |
|
| 96 |
<hr /> |
| 97 |
|
| 98 |
<p> |
| 99 |
<a href="doc/features.html">Feature Highlights</a>: |
| 100 |
A short description of the features of JavaCC. |
| 101 |
</p> |
| 102 |
|
| 103 |
<p> |
| 104 |
<a href="doc/installhelp.html">Installation and Getting Started</a>: |
| 105 |
This page contains a bunch of tips |
| 106 |
that should aid you through the installation process. |
| 107 |
</p> |
| 108 |
|
| 109 |
<p> |
| 110 |
<a href="doc/docindex.html">Documentation</a>: |
| 111 |
The complete documentation for JavaCC. |
| 112 |
</p> |
| 113 |
|
| 114 |
<p> |
| 115 |
<a href="doc/lexertips.html">Lexer writing tips</a>: |
| 116 |
Tips for writing good JavaCC lexical analyzer specs. This can also help |
| 117 |
you if you are getting 'code size too big' error message from javac when |
| 118 |
you compile the generated token manager. |
| 119 |
</p> |
| 120 |
|
| 121 |
<p> |
| 122 |
<a href="http://javacc.dev.java.net/servlets/ProjectMailingListList">Getting Support and Keeping In Touch</a>: |
| 123 |
Here's how you can contact us and keep in touch with what's happening. |
| 124 |
</p> |
| 125 |
|
| 126 |
</body> |
| 127 |
</html> |
| 128 |
|