SquareBracket boasts a user-friendly syntax that is easily comprehensible. This makes it an ideal choice for both novice and experienced programmers.
SquareBracket's emphasis on doubles, matrices and arrays leads to improved performance for small scripts compared to Python and other interpreted languages
SquareBracket is highly portable with its lightweight interpreter, making it easily transferable between different environments. All mathematical function are included without libraries.
The example below demonstrates how the Leibniz series can be implemented with SquareBracket.
# Calculator for the Leibniz series
print ["Calculating Pi with Leibniz"]
mvar denominator pi addto n 1
set n args[0]
loop n do [
set denominator (denominator + 4)
set addto (addto - (1/(denominator-2)) + (1/(denominator)))
]
set pi (addto * 4)
printv pi
newl
Next Version: The next version of the SquareBracket interpreter (VS 2.4.0) will include support for matrix operation commands such as addition, multiplication, subtraction, division and transposition. Furthermore, the dimension of matrices can be changed with a new command in the next version. New commands that calculate the sum, average etc. of lists and matrices will be added as well.