[ANNOUNCEMENT] PHP_ParserGenerator-0.1.7 (alpha) Released.
| From: | PEAR Announce | Date: | Mon, 25 Oct 2010 13:52:19 +0000 |
| Subject: | [ANNOUNCEMENT] PHP_ParserGenerator-0.1.7 (alpha) Released. | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-30805@lists.php.net to get a copy of this message | ||
The new PEAR package PHP_ParserGenerator-0.1.7 (alpha) has been released at http://pear.php.net/.
Release notes
-------------
Automatically built QA release
Req #11361 better help message - cweiske
Bug #12652 Generated ParseryyToken class has broken __toString() - urkle
Bug #12730 Generated Parser destructor *can* loop forever - urkle
Req #13416 Provide an option to choose the parser template file - rix0r
Bug #16703 terminals starting with Z letter cause problems - taras
Bug #17381 infinite loop in __destruct of generated parser - jespino
Bug #17382 Empty action causes undefined function - jespino
Package Info
------------
Translate a grammar file in the lemon parser generator format
into a PHP 5-based parser
There are a few PHP-specific changes to the lemon parser generator.
- %extra_argument is removed, as class constructor can be used to
pass in extra information
- %token_type and company are irrelevant in PHP, and so are removed
- %declare_class is added to define the parser class name and any
implements/extends information
- %include_class is added to allow insertion of extra class information
such as constants, a class constructor, etc.
Other changes make the parser more robust, and also make reporting
syntax errors simpler. Detection of expected tokens eliminates some
problematic edge cases where an unexpected token could cause the parser
to simply accept input.
Otherwise, the file format is identical to the Lemon parser generator
Related Links
-------------
Package home: http://pear.php.net/package/PHP_ParserGenerator
Changelog: http://pear.php.net/package/PHP_ParserGenerator/download/0.1.7
Download: http://download.pear.php.net/package/PHP_ParserGenerator-0.1.7.tgz
Authors
-------