Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Moved code into src subfolder and fixed docu | Kevin Chabowski | 2014-05-24 |
| | |||
* | Added ste:setlocal and refined test_scope. | Kevin Chabowski | 2014-05-24 |
| | |||
* | Added scoping. | Kevin Chabowski | 2014-05-24 |
| | | | | | | | | | | | | | | | ste:mktag generated tags now have an own scope. They even resemble closures, since they inherit their parent scope. A lot of work was done to keep this compatible with older programs. However: * Templates that relied on the non-scoping behavior of tags will probably fail. * Since $ste->vars is no longer an actual array, things like $ste->vars["foo"]["bar"] = "baz" are no longer possible! A single field access will still work: $ste->vars["foo"] = "bar" | ||
* | Fixed ste:get | Kevin Chabowski | 2014-05-24 |
| | | | | | | Didn't work at all before. The varname was not passed correctly. Also added the test case that showed this. | ||
* | Added tempvar static function to Transcompiler | Kevin Chabowski | 2014-05-22 |
| | |||
* | One file per class and new namespace. | Kevin Chabowski | 2014-05-18 |
We should be able to use a PSR4 autoloader (like composer's) now. ste.php is still there as a fallback for old applications. |