A tiny template engine without using `eval` or `new Function`