User:Z Script

From Wikipedia, the free encyclopedia

Z-Script is a small, simple, embeddable, and thread-safe scripting language with C-like syntax. The language supports variable types of null, boolean, integer, real, string, array, class, and user object. Jiye Zeng created the language based on the best features of Lua, C-Talk, and many others to provide a free tool and libraries for scientific data processing and visualization.

Z-Script allows re-definition of all operators for any user object through its application programming interface (API). For example, it is possible to read from or write to cells of a Excel worksheet using array expression, e.g.,

xls[i,j] = 10;

a = xls[i,j];

And because the same function name can be registered for different types of objects, you can matrix and number in an expression naturally, e.g.,

a = 1.0 + log(25.5) + sin(m); // m is a matrix

Furthermore, it's API is extremely easy to use to add user libraries.