expand

expand , by William Duquette, is a macro and/or template processor written in Tcl. Its main component was later repackaged in Tcllib as textutil::expand.

Disambiguation

{*}
formerly known as {expand}

See Also

THP
code generation
castle
contains a macro facility
Template And Macro Processing

Description

expand 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.
  • Conversion of manpages in a tcl-based markup to HTML, nroff, TMML, etc. See doctools.
  • 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).