The language is a scientific extension of Javascript. It is almost 100% compatible with it, except for these 4 minor modifications:
// a new line without a semicolon will output the result of the expression
1+1;
2+2
3+3;
4+4
// ^ means exponentation, xor means bitwise exclusive or
2 ^ 3
2 xor 3
// % means percent, mod means modulus
7%
7 mod 4
// ' means matrix transpose (there are no single-quoted strings)
[1,2,3,4]
[1,2,3,4]'
"This is a string."
clear // clear console
// variables
a = 5;
b=a*2;
b+1
// square numbers from one to ten
for(i = 1; i <= 10; i++) i^2
// simple factorial function declaration
factorial = function(n) { return n<2 ? 1 : n*factorial(n-1) };
factorial(5)
// objects
obj = {a:5, b:{c:6 km/s^2, d:eye(3)}}
obj.b.c