Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on 21st Century C (new book). Parent comment
* 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
There are no comments on this comment yet.
* 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