For Programmers: Free Programming Magazines  


Home > Archive > Compilers > August 2005 > byaccj vs cup vs javacc









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author byaccj vs cup vs javacc
Jimmy zhang

2005-08-21, 2:56 am

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.
Cheers,
Jimmy

USENET News

2005-08-24, 7:00 pm

I needed to compare java parser generators and found JavaCUP to be most
suitable in my project which involved parsing C language. It scored good on
both parameters that you are looking for.
I could input the ANSI grammer with minor modifications using JavaCUP.

Unfortunately, I don't have a detailed comparison report now.

Regards,
Naveen Sharma.
________________________________

From: compilers-owner@lists.iecc.com on behalf of Jimmy zhang
Sent: Sun 8/21/2005 9:52 AM
Subject: byaccj vs cup vs javacc



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.
Cheers,
Jimmy

Scott Nicol

2005-08-24, 7:00 pm

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

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com