Template and macro processing is perhaps more common in Tcl than many scripting languages, and many tools have been published.
Macro/Substitution Tools
- expand ,by William Duquette
- A dedicated T/M processor. The core of expand was added to tcllib/textutil.
- Tmac ,by Roy Terry
- a general-purpose macro package for expanding and substituting Tcl code.
- Sugar
- a Lisp-like macro system for Tcl.
- Subst template expansion helpers
- Percent Substitution
- FrontLine ,by Koen Van Damme
- the author has used Frontline to write a preprocessor based upon Tcl to get more power than provided by the C/C++ preprocessor.
Template Tools
- TclHttpd ,by Brent Welch
- a web server that includes a template processor
- Kinetic Application Processor ,by AsiaInfo
- a web server that includes a template processor
- Tml a component of BrowseX
- a template processing system for both dynamic and static content.
- Apache Rivet
- the successor to mod_dtcl
- mod_dtcl
- nstcl
- the OpenACS templating system
- TemplaTcl
- has just two tags, ASP-like, easily expandable, and relatively safe, as it runs in a safe interpreter.
- tmpl_parser
- 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.
- TemplateRecall
- tclTemplateToolkit2
- A partial Tcl implementation of the TemplateToolkit :
See Also
- Templates and subst
- presents substify and applytemplate.
- Web Templating
- Text Clipboard
- Code Generation
- FrontLine
- Backquoting
- castle
- ctrans
- emacs package to insert templated code interactively
- tic-tac-toe
- not just a game - it is a templating system as well!
- handlebars