Yeah but its not scripty enough and has not enough easy stuff build in.

https://www.tcl-lang.org/

Many people have made micro Tcl’s too if you want something even lighter.

It has a built in subst command no need for a template engine!