[PEPr] Changes in proposal for PHP::PHP_LexerGenerator
| From: | Greg Beaver | Date: | Fri, 30 Jun 2006 16:38:26 +0000 |
| Subject: | [PEPr] Changes in proposal for PHP::PHP_LexerGenerator | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-43176@lists.php.net to get a copy of this message | ||
Greg Beaver (http://pear.php.net/user/cellog) has edited the proposal for PHP::PHP_LexerGenerator.
Change comment:
- Changed license to new BSD license
- updated download link to version 0.2.0
- updated docs, the example lexer takes advantage of new regex features
- Added regular expression parser, this adds tremendous flexibility
* usage of internal sub-patterns is now allowed, and is passed to
code handlers as variable $yy_subpatterns
* usage of back-references is allowed for internal sub-patterns
* usage of (?R) is allowed for recursive patterns and conditionals
* usage of conditional patterns based on internal back-references
or recursive back-reference (?(3)blah|foo) or (?(?R)blah|foo) is
allowed
* once-only patterns are allowed (?>blah)
* usage of conditional patterns based on lookaheads are allowed
(?(?=])x) (?(?=])x|y)
* lookbehinds are impossible and are not allowed
* setting PCRE internal options inside (?i) or (?i:blah) are not
allowed
- PHP_LexerGenerator_Exception extends PEAR_Exception
I will call for votes in 7 days, please review now
Please review the proposal:
http://pear.php.net/pepr/pepr-proposal-show.php?id=415
--
Sent by PEPr, the automatic proposal system at http://pear.php.net