News for hackers. Stuff that matters.
Re:Tcl Static Prime: experimental compiler for Tcl that prod... by mzs on Tuesday July 28, 2015 @04:10PM (#9964174)
There was some papers and a book (sorry can't remember anymore which one, there used to be more out there about TCL) I used but mostly looked at the expect source as an example.
Re:Tcl Static Prime: experimental compiler for Tcl that prod... by adunsmoor on Tuesday July 28, 2015 @04:26PM (#9964251)
Tcl and the Tk Toolkit by J. Osterhout is an old reference but very useful for getting started with the C API to Tcl including embedding an interpreter. The last 1/3rd of the book is on writing Tcl applications in C.

Also look at the the source files for the Tcl (tclsh) or Tk (wish) shells. They are fairly concise.

Re:Tcl Static Prime: experimental compiler for Tcl that prod... by davidw on Tuesday July 28, 2015 @04:29PM (#9964268)
There is also an updated version out (with my name on the cover, to boot:-)

http://amzn.to/1LQrLTK

Although even that is not super recent.

Tcl's C API is very pleasant to work with, and its C code is a good read - except for the regex stuff, which are the first few files you'd see in an alphabetical listing.

Re:Tcl Static Prime: experimental compiler for Tcl that prod... by mzs on Tuesday July 28, 2015 @04:58PM (#9964436)
Yep that was the book I was lent.