Re: byaccj vs cup vs javacc

Scott Nicol <snicol@apk.net>
24 Aug 2005 18:23:20 -0400

          From comp.compilers

Related articles
byaccj vs cup vs javacc crackeur@comcast.net (Jimmy zhang) (2005-08-21)
Re: byaccj vs cup vs javacc snicol@apk.net (Scott Nicol) (2005-08-24)
| List of all articles for this month |

From: Scott Nicol <snicol@apk.net>
Newsgroups: comp.compilers
Date: 24 Aug 2005 18:23:20 -0400
Organization: Compilers Central
References: 05-08-076
Keywords: parse, Java
Cc: compilers@iecc.com
Posted-Date: 24 Aug 2005 18:23:20 EDT

Jimmy zhang wrote:
> Hi, I was in the process of selecting a compiler compiler
> for my project. So far there are three options for Java
> CUP, byaccj and javacc, can someone comment on the
> pros and cons of each options? I am interested in the
> maturity, adoption and ease of use, among other aspects.


You forgot ANTLR.


I'll only comment on byacc/j, since that is what I use. It is Berkeley
YACC, but it generates Java instead of C. I don't know what else to say
other than it is YACC, the parser skeleton is well-written, and it
works. If you are already using and happy with some variant of YACC,
going with yacc/j is a no-brainer.


Support is rather spotty, although a new version was released last month
fixing a few issues. There really isn't much development going on with
any YACC, so byacc/j is no different in this regard.


--
Scott Nicol
snicol@apk.net



Post a followup to this message

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