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 CHANGELOG.md.
- 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 email@example.com
This software is licensed under an MIT Licence. Please see the file, LICENCE.md, for details.