STE updates
I have updated STE, my PHP template engine.
There are a ton of improvements:
- A more robust parser (completely rewritten, the old one was rubbish).
- Some bugfixes in the compiler.
- The new parser allows arbitrary nesting of the short tags (
?{...}
,~{...}
). - Short cmp tag (
~{...}
) now allows tags in the arguments. - Finally a test suite to improve quality and consistency.
I also reformatted the code to 1TBS instead of Allman-style.