Received: from PACIFIC-CARRIER-ANNEX.MIT.EDU by po7.MIT.EDU (5.61/4.7) id AA17773; Mon, 8 Jan 96 10:19:33 EST
Received: from liquor.cabi.net by MIT.EDU with SMTP
	id AA08386; Mon, 8 Jan 96 10:19:37 EST
Received: (from listadm@localhost) by liquor.cabi.net (8.6.12/8.6.12) id KAA22991; Mon, 8 Jan 1996 10:20:28 -0500
Resent-Date: Mon, 8 Jan 1996 10:20:28 -0500
From: dkuhlman@netcom.com (G. David Kuhlman)
Message-Id: <199601081514.HAA05709@netcom22.netcom.com>
Subject: Re: integrate jave into gcc and/or gcc generates java (fwd)
To: java-linux@java.blackdown.org
Date: Mon, 8 Jan 1996 07:14:25 -0800 (PST)
X-Mailer: ELM [version 2.4 PL23]
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Length:        840
Resent-Message-Id: <"WI45_.0.Mc5.QNJym"@liquor>
Resent-From: java-linux@java.blackdown.org
X-Mailing-List: <java-linux@java.blackdown.org> archive/latest/891
X-Loop: java-linux@java.blackdown.org
Precedence: list
Resent-Sender: java-linux-request@java.blackdown.org

Forwarded message:

...
> 
> The easiest way to get a new compiler is to take an existing front-end
> (the SUN Java "compiler") and an existing back-end (gcc) and make them
> work together. That is not trivial, I know.
> 
> The big hinderance are the legal issues. So someone (not ME) has to write
> a new Java front-end und cover it with the GPL in order to integrate it into
> GCC.
> 

Several people have worked on a parser for Java.  I have one based
on PCCTS (Purdue Compiler-Construction Tool Set) that recognizes most
of Java, builds a parse tree and walks the parse tree.  Terence Parr
and some people associated with him have also done work on a
Java parser (also based on PCCTS; they have more experience than
I and have most likely done a better job).  And a yacc grammar 
is available.  (PCCTS, BTW, is a yacc/lex replacement.)

