The compatibility with ST
(
www.stringtemplate.org) was never a goal.
lua-CodeGen is minimalist compared to ST; less than 250 LoC and no external dependency.
lua-CodeGen is not a Lua port of ST. Many features are missing.
lua-CodeGen is based on T. Parr's papers (the author of ST),
and borrows or not some syntax/notation defined in these papers.
I try to define a syntax which the standard Lua regex could parse.