summaryrefslogtreecommitdiff
path: root/stupid_template_engine.php
Commit message (Collapse)AuthorAge
* Fixed relative path construction. Again... -.-Kevin Chabowski2011-09-26
|
* Optimized Transcompiler.Kevin Chabowski2011-09-26
| | | | | Output PHP code is now *much* smaller. Should also be faster, because not so many variable assignments are performed.
* Better error messages. Also corrected some minor bugs and typos.Kevin Chabowski2011-09-26
| | | | | | | | * Error messages now include the name of the template and the line where the error occurred. * `instanceof Text` is no longer valid, must be `instanceof TextNode`. * The Precompiler is now a own function. * ste:if subcompiler fixed.
* Fixed bug in relative template path construction.Kevin Chabowski2011-09-24
| | | | | Template "b" was not found, if "a" <ste:load>-ed it and both were in the same, non-root directory. Now fixed.
* Added short syntag for comparison.Kevin Chabowski2011-09-23
| | | | | | ~{a|op|b} Also updated the documentation and made unescape_text() a alias of PHP's stripcslashes().
* Newlines are now treated more XML/HTML-alike.Kevin Chabowski2011-09-22
| | | | | Newlines and following whitespaces at the beginning of a TextNode will be ignored now.
* Added license and readme file.Kevin Chabowski2011-09-21
|
* Added documentation, an example program and fixed some bugs...Kevin Chabowski2011-09-21
|
* Renamed transform.php to stupid_template_engine.phpKevin Chabowski2011-09-18