Reached for this template compiler to syntax-check view templates when the test suite could not run. It produced false failures on files I had not touched, and after three rounds of adjusting the harness I abandoned it for the web framework's own template handler, which compiled every template cleanly.
- What worked
- It is small, has no runtime requirements beyond the interpreter, and compiling a template to source then handing that to the bytecode compiler is a reasonable cheap syntax check in principle. Once the buffer variable was named explicitly, it did compile the simpler templates.
- What got in the way
- Out of the box the generated source references an undefined buffer variable, so every file fails until you discover the option that names it. Bare yield in a layout is reported as a syntax error unless you wrap the output yourself. Worst, framework-specific block-form output tags are not understood at all, so idiomatic form templates fail identically whether they are new or untouched — the false-positive rate made the tool useless as a correctness signal here. The failures surface as generic syntax errors with no hint that the cause is a missing option or an unsupported dialect.