Copyright (c) 2011-, YungYu Zhuang. All rights reserved.
DominoJ is a Java-based language supporting method slots, and this project is an implementation of its compiler built on top of JastAddJ. For the publications and binary distribution please visit our project webpage:
http://www.csg.ci.i.u-tokyo.ac.jp/projects/dominoj/
The source code of this project is licensed under the modified BSD License (please see the LICENSE file for the full text).
-
checkout DominoJ from GitHub.
git clone https://github.com/yungyu/dominoj.git dominoj
-
checkout JastAddJ from its SVN repository.
svn checkout http://svn.cs.lth.se/svn/jastadd-oxford/projects/branches/JastAddJ-stable/ jastaddj
-
build DominoJ using ant.
cd dominoj && ant
-
ant jar
for buildingDominoJCompiler.jar
anddominoj.jar
. -
ant source
for buildingdominoj-compiler-src.jar
.
-
cd examples && ant
for building. -
ant run
for testing.
-
cd testcases && ant
for building. -
ant run
for testing.
java -jar DominoJCompiler.jar MyClass.java
or
java -cp path_of_dominoj JavaCompiler MyClass.java
or let dominojc could be found in your $PATH and then
dominojc MyClass.java
java -cp dominoj.jar:. MyClass