Looks like JavaScript, feels like Ruby, and it is a script language fitting in C programmers.
This project is maintained by Kray-G
Native function can do some expressions like a normal function. Here are supported operations.
native add(a, b) { return a + b; }
native sub(a, b) { return a - b; }
native mul(a, b) { return a * b; }
native div(a, b) { return a / b; }
native mod(a, b) { return a % b; }
System.println(add(10, 20));
System.println(sub(10, 20));
System.println(mul(10, 20));
System.println(div(10, 20));
System.println(mod(10, 20));
30
-10
200
0
10
native add(a, b) { return a + b; }
native sub(a, b) { return a - b; }
native mul(a, b) { return a * b; }
native div(a, b) { return a / b; }
native mod(a, b) { return a % b; }
System.println(add(103, 20));
System.println(sub(103, 20));
System.println(mul(103, 20));
System.println(div(103, 20));
System.println(mod(103, 20));
123
83
2060
5
3
native add(a, b) { return a + b; }
native sub(a, b) { return a - b; }
native mul(a, b) { return a * b; }
native div(a, b) { return a / b; }
native mod(a, b) { return a % b; }
System.println(add(-103, 20));
System.println(sub(-103, 20));
System.println(mul(-103, 20));
System.println(div(-103, 20));
System.println(mod(-103, 20));
-83
-123
-2060
-5
-3
native add(a:dbl, b:dbl):dbl { return a + b; }
native sub(a:dbl, b:dbl):dbl { return a - b; }
native mul(a:dbl, b:dbl):dbl { return a * b; }
native div(a:dbl, b:dbl):dbl { return a / b; }
native mod(a:dbl, b:dbl):dbl { return a % b; }
System.println(add(10, 20));
System.println(sub(10, 20));
System.println(mul(10, 20));
System.println(div(10, 20));
System.println(mod(10, 20));
30
-10
200
0.5
10
native add(a:dbl, b:dbl):dbl { return a + b; }
native sub(a:dbl, b:dbl):dbl { return a - b; }
native mul(a:dbl, b:dbl):dbl { return a * b; }
native div(a:dbl, b:dbl):dbl { return a / b; }
native mod(a:dbl, b:dbl):dbl { return a % b; }
System.println(add(103, 20));
System.println(sub(103, 20));
System.println(mul(103, 20));
System.println(div(103, 20));
System.println(mod(103, 20));
123
83
2060
5.15
3
native add(a:dbl, b:dbl):dbl { return a + b; }
native sub(a:dbl, b:dbl):dbl { return a - b; }
native mul(a:dbl, b:dbl):dbl { return a * b; }
native div(a:dbl, b:dbl):dbl { return a / b; }
native mod(a:dbl, b:dbl):dbl { return a % b; }
System.println(add(-103, 20));
System.println(sub(-103, 20));
System.println(mul(-103, 20));
System.println(div(-103, 20));
System.println(mod(-103, 20));
-83
-123
-2060
-5.15
-3
native add(a:str, b:str):str { return a + b; }
native mul(a:str, b):str { return a * b; }
System.println(add("pre:", "post"));
System.println(mul("abc:", 5));
pre:post
abc:abc:abc:abc:abc: