PIZZA | Current compiler version: 0.39e |
A substantial companion to Java | |
Installation Guide |
Contents
Home Mirrors FAQ |
Java 1.0 compatible version supporting Pizza 1.0: 0.31 from 11 Mar 97.
Pizza is implemented on top of the Java development kit (other Java-compatible virtual machines will also work). The Pizza compiler pc is a straight replacement for Sun's Java compiler javac. When compiling .java files, pc works just like javac, except that it's up to 2 times faster for large sources.
This page describes the procedure for downloading and installing Pizza for UNIX and Windows '95 systems in six easy steps. If you know something about Java, you can also install Pizza on any other conforming Java system by proceeding analogously to what's described here.
We recommend that you also subscribe to the Pizza mailing lists, which notify you of updates to this distribution and provide answers to questions relating to Pizza.
You should now have a directory, say `X', in your CLASSPATH such that
`X'/pizza/compiler/Main.classexists. Make sure that this is the case.
alias pc java -ms8m pizza.compiler.MainTo set up an alias for Pizzadoc use
alias pizzadoc java -ms8m pizza.compiler.Main -pizzadoc -d /home/docWhat redirects the generated documentation files to your directory /home/doc.
On Windows systems, you can use the files pc.BAT and pizzadoc.BAT, which are part of the distrution. Be sure to put these file into a directory which is in your executable path. Note that the file pc.BAT contains the single line:
java -ms8m pizza.compiler.Main %1 %2 %3 %4 %5 %6 %7 %8 %9The option -ms8m sets the initial heapsize of the Java interpreter to 8MB, the recommended size for Pizza. Depending on your system, you might want to choose a different size.
java -ms8m pizza.compiler.Main -pizzadoc %1 %2 %3 %4 %5 %6 %7 %8 %9You should add a destination directory to it using -d directoryname.
pc options sourcefilesSimply typing pc will give you a list of all available options. Source files should have extensions .java or .pizza. For source files ending in .java, only the Java subset of Pizza will be accepted unless the option -pizza is set.
-d directorynameThe output directory should be listed in your CLASSPATH. Frequently the output directory will be the one that also contains the pizza directory.