Sunday, October 24, 2010

The new script editor

Matrex has always allowed to use a script language (Jython, Groovy, JRuby...) to write the code of the functions.
But until now the support was limited to the following functionalities:
  • A button in the function template editor to associate a script to a function template.
  • A simple editor to write the script.
From version 2.1, Matrex will have a small IDE to write scripts:

The IDE has:
  • An editor with a simple but effective syntax highlighting. For each script language defines its specific highlighting rules.
  • A graphical test environment that allows to set up input matrices and parameters, with their content, and output matrices of the script. Once the matrices are set, the script can be executed and the result of the script can be checked in the output matrices.
In this way it is possible to edit the script and test it before it gets use as a Matrex function.

No comments: