mustashe is a templating language implemented for many platforms. It is advertised as "logic-less" because it lacks explicit flow control. It has two implementations for Tcl.


mustache.tcl is a Tcl-only implementation of the mustache templating language. It supports v1.1.3 of the mustache spec and the optional lambda part. It needs at least Tcl 8.5.

The package is available on GitHub .

Comments and further testcases welcome.

mustache (by aku)

This implementation separates the template parsing and the render stage, enabling you to avoid repeated parsing and cache parsed templates. It requires Tcl 8.5+ and TclOO.

See also