Version 17 of Template and Macro processing

Updated 2005-06-08 13:20:22 by escargo

This page collects information about Tcl applications and libraries that facilitate the processing of templates and/or macro files.


A dedicated T/M processor is expand by William Duquette. Note: The core of expand was added to tcllib/textutil.

Tmac http://www.tclbuzz.com/v0/tmac is a general-purpose macro package for expanding and substituting Tcl code. - Roy Terry, 2 April 2003. There is also a wiki page devoted to tmac and to comments, suggestions and discussion: Tmac - a Tcl macro processor package.

Two Tcl-based webservers, TclHttpd by Brent Welch and the Kinetic Application Processor by AsiaInfo, incorporate template processors as a means to serve pages with dynamic content and to allow the imposition of a site-wide look & feel.

It is unclear how these three processors compare in features, speed, and other facilities.

Lest anyone forget, the Apache Software Foundation also has a project that utilizes Tcl as a web scripting language: mod_dtcl (see also Apache Rivet for the successor to mod_dtcl).

nstcl implements the OpenACS templating system.

Sugar is a Lisp-like macro system for Tcl.