Joni(beta) is tiny AltJ, namely, joni is a very simple limited translator for the Java programming language.
This compiler made by OCaml, OCamlYacc and OCamlLex.
$ make
package example
Hello class {
+ ^ main():void = {
System.out.println("hello world")
}
}
+
is public and ^
is static
$ ./jonic example/hello.joni example/Hello.java
$ javac example/Hello.java
$ ./java example.Hello
hello world!
or
$ make hello
package example;
class Hello {
public static void main() {
System.out.println("hello world!");
}
}
$ make fib
$ make test
$ make clean
MIT Licence.