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 jarfor buildingDominoJCompiler.jaranddominoj.jar. -
ant sourcefor buildingdominoj-compiler-src.jar.
-
cd examples && antfor building. -
ant runfor testing.
-
cd testcases && antfor building. -
ant runfor 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