- Parsing errors reporting
- Block based indentation
- Faster parsing and inclusion
First of all, now parsing errors like unmatching tags are reported on pyhp log. It will be reported the line and the file for which the error has happened (also if the file has been included).
Next now you can indent your code as you wish inside your <?pyhp?> code blocks. PyHP will reformat the indentation based on the first line indentation. You will just have to indent your code in the same way inside the <?pyhp?> block, but the blocks can be indented as html tags now.
The new parsers is written with ragel state machines generator and it performs faster then the old one.
As the new parser might have bugs you can still compile enabling the old parser by passing –enable-newparser=no to the configure script.