test/template/basic.php: Treat lines which solely contain closing curly-bracket as PHP "logic" parts.
Just committing/pushing my in-progress work, here, to be sure I don't lose anything.
Bit more progress; add support for expanding block "calls" and pulling out their respective names.
More progress; broke up "expansion" code into individual components/functions each exercising a distinct function (expand shorthand question-mark syntax, expand shorthand variable substitution, etc).
test/template/: Create new test-file, variables.php, for tests specific to variable substitution; improve 'normalizeSpace' helper-function a bit.
src/template/: Expect variable names to begin with letter or underscore -- i.e., do not consider a string like "50" to be a variable.
test/template/variables.php: Add test-case to assert previous bug-fix/commit works as expected.
test/template/internals.php: Just remove commented-out require statement.
src/template/base.php: A good bit of reorganizing/refactoring; make 'renderFromString' properly handle variables again.
src/template/inheritance.php: Add 'expandBlockReferences' functionality.
Merging in latest from 'master' branch.
test/template/variables.php: Add test-case to assert simple assignment of local variables, within a template, works as expected.
src/template/: Add token.php, which as of now just contains simple function for rendering a "token" (as returned by 'token_get_all').
src/template/: Add primitive support for rescoping variables contained within string (e.g., "Hello  - welcome.").
src/template/variable-scope.php: Make exception to NOT re-scope special $this variable.
test/: Use 'diet-php' as the extension for our template files, instead of 'sphp'.
test/template/inheritance/: Remove extend-php-class.sphp for now, as it's not being used at moment and is leading to warnings when running test suite.
test/template/inheritance/test.php: Re-enable proper implementation of 'testBasicInheritance' (now passing), and comment-out and rename function that was being used for debugging.
src/template/: Add README.md, beginning of intro/documentation for "Diet PHP", this new-fangled templating engine.
src/template/README.md: Some tweaks, fixes...