[Scilab-Dev] Developement of scilab extension 'Scilab2C' to add support for scilab functions

Clément David clement.david at scilab-enterprises.com
Fri Jul 24 14:56:14 CEST 2015


Hello Sidedhesh,

Thanks for trying this code generator, it need to be improved and more
interest on real use-case.

In my view, all the Scilab algorithm should be emitted as equivalent C
code to ease compactness and general usage of it. Even if re-using the
code in a library seems to be viable alternative, linking against
Scilab code might have some strong licensing restriction (google GPL vs
LGPL).

Do not hesitate to ask, if you need more info to go deeper into the
code.

--
Clément


Le vendredi 24 juillet 2015 à 02:17 -0700, Siddhesh a écrit :
> Dear all,
> 
> I am trying to add support for some commonly used scilab functions in 
> '
> Scilab2C <http://forge.scilab.org/index.php/p/scilab2c/>  ' extension
> . This
> extension is useful for converting scilab code to C code. But support 
> for
> scilab functions is very limited. It mainly supports those functions 
> which
> are available in c compiler like trignometric functions, log etc. 
> 
> I want to extend support for other scilab functions like cumprod, 
> cumsum etc
> which are not available in c. 
> My question is - to add support for these functions, writing these 
> functions
> in c is the only way, or is there any other way like compiling scilab
> fuctions in certain format or library, which can be directly called 
> from c
> and easily compiled together with c code.
> 
> Waiting for early reply.
> 
> 
> 
> --
> View this message in context: http://mailinglists.scilab.org/Develope
> ment-of-scilab-extension-Scilab2C-to-add-support-for-scilab-functions
> -tp4032613.html
> Sent from the Scilab developers - Mailing Lists Archives mailing list 
> archive at Nabble.com.
> _______________________________________________
> dev mailing list
> dev at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/dev



More information about the dev mailing list