Downloads
MultiMiniJ
MultiMiniJ version 1.3 multiminij-1.3.zip MultiMiniJ version 1.2 multiminij-1.2.zip MultiMiniJ version 1.1 multiminij-1.1.zip MultiMiniJ version 1.0 multiminij-1.0.zip
Required Additional Software
Java Virtual Machine
In order to run the MultiMiniJ compiler, you need a Java virtual machine.
Java (1.5 or later) http://java.sun.com
C Compiler
To compile a MultiMiniJ program to an executable file, you need both the MultiMiniJ compiler and a C compiler.
GNU C Compiler (Linux/Unix/OS X) http://gcc.gnu.org GNU C Compiler (Windows) http://www.mingw.org
Compiling MultiMiniJ Programs
Here is a typical example of compiling and running a MultiMiniJ program on a Linux or Mac OS X machine:
$ java -jar lib/multiminij.jar --libpath=standard-library programs/hello/hello.mmj MultiMiniJ Compiler version 1.0 Wrote program to 'hello.h and 'hello.c'. Please compile using : gcc -I [path-to-mmjlib-directory] -o hello hello.c $ gcc -I mmj-library -o hello hello.c $ ./hello Hello world! $
On Windows, you should replace '/' characters by '\' characters.
Recommended Additional Software
Mercurial
The source code of MultiMiniJ is stored in a Mercurial repository.
Mercurial http://www.selenic.com/mercurial/wiki/ Mercurial Documentation http://hgbook.red-bean.com/
Apache Ant
The Apache Ant software plays the role of a portable make for Java. The MultiMiniJ source code relies on this software file to simplify its build procedure.
Apache Ant http://ant.apache.org
SableCC
Part of the MultiMiniJ compiler Java source code needs to be generated by the SableCC software. To rebuild the MultiMiniJ compiler from scratch, you need to download SableCC 3 and then copy the executable sablecc.jar file into the $ANT_HOME/lib/ directory of your Apache Ant installation.
SableCC (3.2 or later) http://sablecc3.sablecc.org
Rebuilding the MultiMiniJ compiler from scratch
Here is a typical session:
$ hg clone http://multiminij.sablecc.org/repository/multiminij.sablecc.org ... $ cd multiminij.sablecc.org $ ant -f ant-files/build.xml create-jar ... $ java -jar lib/multiminij.jar MultiMiniJ Compiler version 1.0 ... $
This is one of the very few pages that cannot be edited by logged in users. Please submit a new ticket to propose any change.