Continuing our tradition of being aware of other language's Inline-like facilities, here are some links to Tcl's Critcl.
Example: cproc add {int x int y} int { return x + y; } Homepage: Critcl - Adding C code to Tcl/Tk has never been easier http://mini.net/tcl/critcl A talk and paper: Critcl - Compiled Runtime In Tcl (Tcl2002 slides) http://www.equi4.com/docs/vancouver/pres2.htm Critcl - Beyond Stubs and Compilers (Tcl2002 paper) http://www.digital-smarties.com/Tcl2002/critcl.pdf Some related pages: CriTcl builds C extensions on-the-fly http://mini.net/tcl/2516.html CritLib http://www.equi4.com/critlib/ Some other interesting pages: "All policy issues in software must be scripted" http://mini.net/tcl/2520 C code generators (Richard Suchenwirth) http://mini.net/tcl/1119 Happy holidays, Mitchell Charity