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 (2011-04-29: URL hitting a 404) 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). '''Tml'''[http://browsex.com/TML.html], which is part of [BrowseX], is a template processing system for both dynamic and static content. [nstcl] implements the [OpenACS] templating system. [Sugar] is a [Lisp]-like [macro] system for Tcl. [TemplaTcl] is a Tcl template engine. It has just two tags, ASP-like, and it is easily expandable, and relatively safe, as it runs in a safe interpreter. [tmpl_parser] is another template engine. [Templates and subst]: see [[substify]] and [[applytemplate]]. Open Liquid is a parsing and rendering engine for the Liquid Markup Language written in C++ with the goal of being bindable to any scripting language interpreter. Currently, only TCL is supported through the TCL C API. [https://github.com/23/openliquid] [TemplateRecall] [Web Templating] [Subst template expansion helpers] [Percent Substitution] A partial Tcl implementation of the http://template-toolkit.org/%|%TemplateToolkit%|%: http://chiselapp.com/user/jdc/repository/tclTemplateToolkit2/home ---- [Koen Van Damme] announced in a post to [comp.lang.tcl] that he has written a preprocessor based upon Tcl to get more power than provided by the [C]/C++ preprocessor. See http://www.gener8.be/site/articles/code_generation/code_generation.html . Related pages in this wiki are [Text Clipboard], [Code Generation], [FrontLine], [Backquoting], [castle], [ctrans]. ---- [Bezoar] Check out Tcl code generation in emacs [Templating system for Tcl in Emacs] ''[escargo] 27 Nov 2007'' - It's been some days now, but there is no page for that subject yet. Is it the wrong name? Perhaps you mean [emacs package to insert templated code interactively]? ---- [tic-tac-toe] is not just a game - it is a templating system as well! ----- https://github.com/arthurschreiber/handlebars.tcl%|%handlebars.tcl%|% is port of handlebars.js (http://handlebarsjs.com/), a logicless templating language. <> Word and Text Processing | Template