$ luarocks install templet
Templet is a template preprocessor written in pure Lua that parses text templates with embedded Lua statements and expressions. Templet may be used to preprocess source files of any language, such as OpenCL C. Templet works with Lua 5.1, Lua 5.2, Lua 5.3, and LuaJIT.