Re: experience with jack, a yacc-like tool for java

gfarrow@shlden.com (Glenn Farrow)
8 Feb 1997 22:53:37 -0500

          From comp.compilers

Related articles
is there a yacc that outputs Java instead of C/C++? dan.kelley@dal.ca (Dan Kelley) (1997-02-02)
experience with jack, a yacc-like tool for java dan.kelley@dal.ca (Dan Kelley) (1997-02-07)
Re: experience with jack, a yacc-like tool for java gfarrow@shlden.com (1997-02-08)
Re: experience with jack, a yacc-like tool for java sreeni@csc.albany.edu (1997-02-11)
Re: experience with jack, a yacc-like tool for java nshaylor@tcp.co.uk (1997-02-20)
Re: experience with jack, a yacc-like tool for java sami@microsoft.com (Sam Inala) (1997-02-27)
| List of all articles for this month |

From: gfarrow@shlden.com (Glenn Farrow)
Newsgroups: comp.compilers,comp.lang.java.misc
Date: 8 Feb 1997 22:53:37 -0500
Organization: MCI Systemhouse
References: 97-02-013 97-02-039
Keywords: yacc, Java

Dan Kelley <dan.kelley@dal.ca> wrote:
>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.
>
> kelley@Kelley$ java -version
> java version "1.0.1"


I suspect the version of Java you are using is your problem. I am
using JDK 1.1 Beta 3 and it worked fine with the following exceptions:


1.) Several deprecation warnings.


2.) One of the generated java files (ASCII_CharStream.java) was
attempting to call the "void finalize()" method on arrays of
primitives which resulted in the following error:


"ASCII_CharStream.java:36: Can't access protected method finalize in
class java.lang.Object. byte[] is not a subclass of the current class
buffer.finalize();"


Once the invalid attempts to invoke "finalize()" were commented out it
worked fine.


                                                                                                                                                Glenn
--


Post a followup to this message

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