Fast scripting language for the JVM, compiles to binary class, and full customizable.
mvn compile
mvn package
java -cp target/cajuscript-0.5.jar org.cajuscript.irc.CajuConsole
Then execute this sample code:
sayHello = true
sayHello ?
System.out.println('Hello world!')
?
count = 0
count < 5 @
System.out.println('Loop '+ count)
count += 1
@
Sample code file as source.cj
:
sayHello = true
sayHello ?
System.out.println('Hello world!')
?
count = 0
count < 5 @
System.out.println('Loop '+ count)
count += 1
@
Then execute the file:
java -jar target/cajuscript-0.5.jar source.cj
With legacy versions here: