|is there a yacc that outputs Java instead of C/C++? firstname.lastname@example.org (Dan Kelley) (1997-02-02)|
|experience with jack, a yacc-like tool for java email@example.com (Dan Kelley) (1997-02-07)|
|Re: experience with jack, a yacc-like tool for java firstname.lastname@example.org (1997-02-08)|
|Re: experience with jack, a yacc-like tool for java email@example.com (1997-02-11)|
|Re: experience with jack, a yacc-like tool for java firstname.lastname@example.org (1997-02-20)|
|Re: experience with jack, a yacc-like tool for java email@example.com (Sam Inala) (1997-02-27)|
|From:||Dan Kelley <firstname.lastname@example.org>|
|Date:||7 Feb 1997 23:34:19 -0500|
|Organization:||ISINet, Nova Scotia|
A few days ago I posted to this group asking whether there was a
yacc-like tool that created java code.
Several folks mentioned that I should try 'Jack', at
while others suggested I try CUP, at
I'm writing this note to let other folks know of the existence of
As to my personal experience with them, I have not had the chance to
try CUP yet. I decided to try Jack first, since, coming from Sun
Microsystems, I figured it might be more stable than CUP.
Unfortunately, I couldn't get Jack to work on my machine, on the
examples in the 'examples' directory. For anyone who is interested, I
paste below my signature line a script of what I tried. Maybe my java
is installed wrongly -- this is a bit of a dead issue because our
system managers are too busy to fiddle with it. I wish good luck to
others who try this.
Dan E. Kelley internet: mailto:Dan.Kelley@Dal.CA
Oceanography Department phone: (902)494-1694
Dalhousie University fax: (902)494-2885
Halifax, NS, CANADA, B3H 4J1 http://www.phys.ocean.dal.ca/~kelley
... here is the log of my unsuccessful attempt to compile a jack pgm:
kelley@Kelley$ java -version
java version "1.0.1"
kelley@Kelley$ jack Simple1.jack
Jack Version 0.5. Copyright (c) 1996 Sun Microsystems Inc.
(type "jack" with no arguments for help)
Reading from file Simple1.jack . . .
java.lang.NoSuchMethodError: java.lang.Long: method
toHexString(J)Ljava/lang/String; not found
Return to the
Search the comp.compilers archives again.