1. SASsification
1.1. Description
SASsification is the term used in the Scilab team to describe a operation necessary for Scilab 6.0. SAS means Scilab / Application / Scilab. It highlights the separation between the algorithm itself and the code to plug it on the Scilab engine.
1.1.1. API changes
Usually, the SASsification process consists also to rewrite the gateway (the connection between the actual code and the Scilab engine) using API_Scilab. API_Scilab replaces the previous API (stack1, stack2 & stack3) which were inconsistent, hard to use and maintain. This API will be also the only API available in Scilab 5.X supported in the 6.X family.
1.1.2. Example of SASsification
In some old part of the Scilab, it is common to see this kind of algorithm:
// Read input arguments // Do a computation // Read input arguments // Do a second computation // Write output arguments
From the engineering point of view, this needs to be more clearly separated:
// Read all input arguments // Do a computation // Do a second computation // Write output arguments