TH1 is a Tcl-like programming language used by Fossil to customize its various subsystems.
Also see TH1 commands provided by Fossil itself .