slang module



Hello all,

I uploaded slgtkdatabox [1] a S-Lang [2] module for GtkDatabox.

S-Lang is a multi-platform C library, providing, among other things, a
powerfull interpreter. S-Lang shell (slsh) has a C-like syntax and
support array-based operations, such as "X" beeing a vector
"function (X)" return a vector. 

Wrapper has been written so that one can easily plots arrays.

...snip...

x = [-PI:PI:PI/1000];

graph = gtk_databox_lines_new (x, sin (x), gdk_green, 0);

...snip...

Regards ;


Laurent.



Références :
¯¯¯¯¯¯¯¯¯¯¯¯
[1] http://laurent.perez2.free.fr/comp/slang/modules/modules.html
[2] http://www.s-lang.org


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]