Skip to content
Branch: master
Clone or download
Pull request Compare This branch is even with lawrencewoodman:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


Build Status

A Tcl template module

This module provides a simple way to define, parse and compile a template to produce a script which can then be run using a safe interpreter. The idea came from the Templates and subst page of the Tclers Wiki.

Please see Introducing Ornament a Tcl Template Module for details on how to use it.


  • Tcl 8.6+


To install the module you can use the installmodule.tcl script or if you want to manually copy the file ornament-*.tm to a specific location that Tcl expects to find modules.


There is a testsuite in tests/. To run it:

$ tclsh tests/ornament.test.tcl


I would love contributions to improve this project. To do so easily I ask the following:

  • Please put your changes in a separate branch to ease integration.
  • For new code please add tests to prove that it works.
  • Update
  • Make a pull request to the repo on github.

If you find a bug, please report it at the project's issues tracker also on github.


Copyright (C) 2018-2019 Lawrence Woodman

This software is licensed under an MIT Licence. Please see the file,, for details.

You can’t perform that action at this time.