contents
| 3 - Critcl Overview As mentioned, Critcl allows C code to be embedded in Tcl scripts, (transparently) compiled and called like any Tcl procedure. It provides procedures for:
All generated code and the MD5 checksums are collected in a per-user/per-platform directory (~/.critcl/platform) - which can be safely located on a shared volume. Critcl is self-contained:
For convenience, Critcl is packaged as a Starkit - a single file packaging of Tcl code and data - which can be downloaded from the Starkit Distribution Archive [6] . The following examples will demonstrate the use of Critcl in a number of situations. 3.1 - Extending Tcl Scripts with C code 3.2 - Building Libraries 3.3 - Building Packages 3.4 - A More Complex Package 3.5 - A Tk Package | see also | ||||