Andreas Rueckert wrote:
> I've used JJTree a while ago and had some problems. It started with the simple
> fact, that the Java grammar and all derived work was copyrighted by Metamata,
> so I couldn't include it in my work. Make sure this copyright has changed, if
> you want to share your work.

JavaCC is copyrighted by Sun, although Metamata distributes and
supports it. The copyright did not and does not interfere with the 
distribution of programs which include generated parsers, nor even 
the distribution of modified grammar files. For example, the copyright 
at the top of the example Java grammar file Java1.1.jj says:

|  * Copyright (C) 1996, 1997 Sun Microsystems Inc.
|  *
|  * Use of this file and the system it is part of is constrained by the
|  * file COPYRIGHT in the root directory of this system.  You may, 
|  * however, make any modifications you wish to this file.
|  *
|  * Java files generated by running JavaCC on this file (or modified 
|  * versions of this file) may be used in exactly the same manner as 
|  * Java files generated from any grammar developed by you.
|  *
|  * Author: Sriram Sankar
|  * Date: 3/5/97

and the COPYRIGHT file to which it refers says:

| <H3>2. SAMPLE GRAMMARS</H3>
| <P>
| You may modify the sample grammars included in the Software to develop
| derivatives thereof ("Sample Grammar Derivatives"), and sublicense the
| Sample Grammar Derivatives directly or indirectly to your customers.
| <P>
| <H3>3. DEVELOPED PRODUCTS</H3>
| <P>
| You may use the Software to generate software program(s) ("Developed
| Programs").  Sun claims no rights in or to the Developed Programs.

Note especially the last sentence.

Louis Tribble
-- 

<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Louis Tribble                                         [EMAIL PROTECTED]
Metamata, Inc.                                   http://www.metamata.com
Tools for serious Java developers.                       +1 510 796 0915
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to