The pack contains everything I've implemented for last month:
- Nearly completed sections.
- Separators.
- "For" and "Foreach" loops.
- Mostly completed template inheritance.
- HTTP header management.
- Partially completed prolog parser.
- Some fixes in the compiler.
The "/dev" directory contains some scripts that are used to test the new features. There are also unit tests: a complete set to test the expression parser and a part of the API test. There will be also a one to process the instructions, however the whitespace characters cause many problems, when it comes to prepare the files. If we try to compare the generated content with the expected result, we have to watch out on every space or line break. Otherwise the test fails, so you must be very patient to write a simple, stupid test. But I think this issue will be solved. To work, the tests require "phpUnit 3" package available in PEAR.