PHP Extension Repository is a modern mirror of PECL website with Windows pre-build.
pecl
install parle
Parsing and lexing
With Parle, it is possible to implement lexing and parsing in PHP while relying on features and principles of the parser/lexer generator tools for C/C++.
Maintainer
Details
Stars: | 76 |
Issue openned: | 2 |
Downloads: | 52082 |
- Fix consistency of return type in 7.0/7.1/7.2 (Remi Collet)
- Fix memory leak in Parle\Stack
- Max parser id is set to UINT16_MAX to save memory. This might be changed in the future
- Push signatures accepting string range for regex was removed as ZPP would deliver copies anyway
- Turned Lexer methods bol, flags and state into properties
- Turned Parser methods action and reduceId into properties
- Turned Stack methods empty and size into properties
requires: