Version 7 of expand

Updated 2004-06-10 14:53:12 by lwv

A macro and/or template processor written in Tcl for Tcl, by William Duquette. See http://www.wjduquette.com/expand/index.html for its homepage.

This is a useful tool for conversion of tcl-based documents into other formats. The range of applications include

  • Generation of website with uniform look & feel. See the homepage [L1 ] of the expand author, or AK's memchan website at SourceForge [L2 ] for examples of this.
  • Conversion of manpages in a tcl-based markup to HTML, nroff, TMML, etc.
  • Generation and setup of Makefiles for an extension based upon a template.
  • Provide a generic support to update a set of files depending on single definition file (tcl script)

All of this falls under the broad category of Template and Macro processing.


BUT, with 8.5, expand also becomes the closest thing Tcl has to a conventional keyword. See TIP 157 [L3 ] for the details. [expand syntax ...]

[Would someone please take on the painful task of explaining the Tcl 8.5 meaning of expand in a way that a Tcl novice will understand?]


Category Application | Category Package, a part of Tcllib (/textutil)

Category Command