summaryrefslogtreecommitdiff
path: root/example/index.php
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
|
* 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: '
* Added documentation, an example program and fixed some bugs...Kevin Chabowski2011-09-21