Version 15 of Template and Macro processing

Updated 2005-06-08 11:48:15

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

nstcl implements the OpenACS templating system.

Sugar is a lisp-like macro system for Tcl.


PHONE 0121 708 2432 for free food