Re: Java compiler written in Java?

yang <yang@isec.com>
14 Apr 2000 23:43:33 -0400

          From comp.compilers

Related articles
Java compiler written in Java? benwebber@my-deja.com (2000-04-11)
Re: Java compiler written in Java? andi@complang.tuwien.ac.at (2000-04-14)
Re: Java compiler written in Java? d97roli@dtek.chalmers.se (2000-04-14)
Re: Java compiler written in Java? yang@isec.com (yang) (2000-04-14)
Re: Java compiler written in Java? johnston.p@worldnet.att.net (Paul Johnston) (2000-04-14)
| List of all articles for this month |
From: yang <yang@isec.com>
Newsgroups: comp.compilers
Date: 14 Apr 2000 23:43:33 -0400
Organization: ISEC
References: 00-04-075
Keywords: Java

benwebber@my-deja.com wrote:


> Has anyone heard of Java compiler written in Java? Post an address
> where I can get it, please... y.t. Ben


First, get a copy of JavaCC 1.1 from Metamata :


http://www.metamata.com/download/javacc_form.html


JavaCC is a compiler-compiler, like yacc, developed by SUN.


Inside the examples directory, there is a directory called JavaGrammars.


There is a Java 1.1 parser grammar written in JavaCC. Feed this
grammar to JavaCC, a Java parser will be generated. The generated
parser is written in Java, of course.


-tsy


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.