3 ms·
Seems like something where you want to illustrate the concepts of integrating with a scripting language: * Calling out from your C program to the scripting lan
by davidw 14y ago
Seems like something where you want to illustrate the concepts of integrating with a scripting language:
* Calling out from your C program to the scripting language.
* Setting variables in the scripting language from C.
* Creating functions that can be called from the scripting language.
* Making those available by creating a loadable shared lib that the scripting language can utilize.
Stuff like that is not that different across different languages and if you've figured one out, others won't be that hard.
My take: Tcl's C API is pretty cool. I wrote about it some here: http://www.amazon.com/dp/032133633X/?tag=dedasys-20 http://www.amazon.com/dp/032133633X/?tag=dedasys-20