Zeta is the closest available thing to CZT * written in Java, or an extension of Java called Pizza, actually, * modular so that other tools can be plugged in, * accepts the draft Z standard, etc. So it is worth taking a look at the design, or the source etc. However, Zeta was written using an older version of Pizza (0.39) which did not work with Java 1.3. I have now managed to get it compiling and enclose the instructions in case anyone else wants to try adding modules to it. (The compilation process is still quite long, because several tools, JDK, ANT, Pizza, must be downloaded and installed before Zeta can be compiled). Note that you can RUN Zeta without doing all this. Just go to the website ( http://uebb.cs.tu-berlin.de/zeta ), download zetadist1_5.class, then type: java zetadist1_5 It comes with excellent HTML documentation about its design too, which would probably interest many CZT members. Anyway, here are the instructions. 0. Make sure you have Java (I used jdk1.3.1_01) installed. 1. Install ANT (a Java make-like system) from jakarta.apache.org Follow its installation instructions. This is needed to compile Pizza (which is needed to compile Zeta!). 2. Install the latest Pizza compiler sources from the CVS repository at pizzacompiler.sf.net (The Pizza 1.0 release contains bugs that prevent Zeta compiling). The following commands will do this: (When prompted for a password for anonymous, simply press the Enter key) SERVER=cvs.pizzacompiler.sourceforge.net cvs -d:pserver:anonymous@$SERVER:/cvsroot/pizzacompiler login cvs -z3 -d:pserver:anonymous@$SERVER:/cvsroot/pizzacompiler co pizza Now compile pizza (in the top-level directory, where build.xml is): cd pizza PIZZA_HOME=$(pwd) CLASSPATH=$PIZZA_HOME/bootstrap/pizza_ant.jar:$PIZZA/bootstrap/pizzaself.jar export CLASSPATH ant 3. Download and install JavaCC 2.1 (yacc for Java) from www.webgain.com In fact, you will end up getting it from the following address. It's free, but you need to register first. http://www.webgain.com/products/java_cc 4. Download the Zeta binary and source distributions from http://uebb.cs.tu-berlin.de/zeta Install the binary version of Zeta: java zetadist1_5 then follow the instructions. Unpack the src distribution into the Zeta directory created by the Zeta binary-install above: cd zeta-1.5 (or wherever you put it) jar xvf zetadistsrc.jar Now we must edit all the *.pizza source files so that they import the pizza libraries under the new name (net.sf.pizzacompiler). To do this, put these commands into the file ZETAHOME/newpizza.ed, then run the following commands (in ZETAHOME directory) ------------ newpizza.ed -------- #!/bin/sh ed $1 <