Skip to content

This is the engine of the CajuScript with parser, interpreter, compiler and executor. It is very fast scripting language for the JVM, compiles to binary class, and customization are supported.

License

cajuscript/cajuscript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Logo

CajuScript

Fast scripting language for the JVM, compiles to binary class, and full customizable.

Documentation

Compilation

mvn compile

Build

mvn package

Run the Console

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
@

Run File

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

image

Old Repository

With legacy versions here:

About

This is the engine of the CajuScript with parser, interpreter, compiler and executor. It is very fast scripting language for the JVM, compiles to binary class, and customization are supported.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages