summaryrefslogtreecommitdiff
path: root/example
Commit message (Collapse)AuthorAge
* Clean up code and improve documentationLaria Carolin Chabowski2020-05-01
| | | | | | | | | | | | | | This switches the code documentation genarator (we're now using phpdoc instead of NaturalDoc). Also various small code cleanup tasks: - Remove unused code - Get rid of `and` / `or`, we're using `&&` / `||` now - Adding missing return values - Helping PhpStorm to detect some dynamically called functions (mark_builtin_callable in Transcompiler) - Reword transcompiling => compiling in documentation
* Automatic code formattingLaria Carolin Chabowski2020-04-30
| | | | Also add git hooks that checks formatting
* Some simple code formattingLaria Carolin Chabowski2020-04-26
| | | | | | - Expand tabs into spaces - Remove trailing whitespace - Get rid of closing `?>` tags
* Simple autoloader for examples and tests.Kevin Chabowski2014-05-24
|
* Fixed wrong include paths.Kevin Chabowski2013-10-28
|
* Gitignore some tronscompiled templatesKevin Chabowski2013-10-23
|
* Added new Tags to the standard library.Kevin Chabowski2012-06-27
| | | | | | | * ste:in_array checks, if a value is in an array * ste:join joins an array with a glue string * ste:split splits a string with a delimiter to an array * ste:array_add adds an element to an array.
* Introduced new exceptions and fixed a parsing bug.Kevin Chabowski2012-02-29
| | | | | | | | | | | | | | * The exceptions RuntimeError, FatalRuntimeError, CantLoadTemplate and CantSaveTemplate were introduced. * RuntimeErrors are automatically catched by the template engine and will be displayed instead of the tag, unless the parameter $mute_runtime_errors was set to true. * Missing tags will result either in a RuntimeError or, if $fatal_error_on_missing_tag is true, in a FatalRuntimeError. * The mktag-subcompiler and the standard library functions now use the new exceptions. * A bug, that threw away leading TextNodes if a comment or rawtext pseudotag was parsed, is now fixed.
* Added builtin ste:get and fixed a code generation bug.Kevin Chabowski2012-01-15
| | | | | | | | * ste:get allows us to get a variable's content dynamically. * (') was escaped for TextNodes, which resulted to: \' should have been: '
* ste:date now uses strftimeKevin Chabowski2011-09-29
| | | | | | | Because strftime is more flexible: You can... * ...put arbitrary text inside the format * ...manipulate it by set the locale (i.e. set language-specific month names etc.)
* 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().
* Added documentation, an example program and fixed some bugs...Kevin Chabowski2011-09-21