Re: Looking for Java parser

Ranjit Mathew <rmathew@gmail.com>
31 Jan 2006 00:32:20 -0500

          From comp.compilers

Related articles
Looking for Java parser u.hobelmann@web.de (Ulrich Hobelmann) (2006-01-26)
Re: Looking for Java parser Satyam@satyam.com.ar (Satyam) (2006-01-28)
Looking for Java parser sulyan.tibor@gmail.com (=?ISO-8859-2?Q?Suly=E1n_Tibor?=) (2006-01-28)
Re: Looking for Java parser boldyrev+nospam@cgitftp.uiggm.nsc.ru (Ivan Boldyrev) (2006-01-28)
Re: Looking for Java parser ang.usenet@gmail.com (Aaron Gray) (2006-01-28)
Re: Looking for Java parser u.hobelmann@web.de (Ulrich Hobelmann) (2006-01-30)
Re: Looking for Java parser rmathew@gmail.com (Ranjit Mathew) (2006-01-31)
Looking for Java parser chance@cs.cmu.edu (Edwin C. Chan) (1996-02-09)
| List of all articles for this month |
From: Ranjit Mathew <rmathew@gmail.com>
Newsgroups: comp.compilers
Date: 31 Jan 2006 00:32:20 -0500
Organization: Compilers Central
References: 06-01-074
Keywords: Java, parse
Posted-Date: 31 Jan 2006 00:32:20 EST

Ulrich Hobelmann wrote:
>
> Are there any reasonably mature Java parsers out there, preferably not
> using Antlr? If there's a parser which isn't 100% production quality,
> that's ok too. I did some work with yacc and ml-yacc in the past, so
> I'm not overly afraid ;)


The Eclipse JDT Core component (Eclipse Compiler for Java)
uses the jikespg parser generator. They have grammars for
both Java 1.4 and 1.5.


ECJ:
    http://www.eclipse.org/jdt/core/index.php


jikespg:
http://sourceforge.net/project/showfiles.php?group_id=128803&package_id=144579


Grammars:
http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/grammar/


ECJ is about as production-quality as you can get. :-)


Ranjit.


--
Ranjit Mathew Email: rmathew AT gmail DOT com


Bangalore, INDIA. Web: http://rmathew.com/


Post a followup to this message

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