parle

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

  • Anatoliy Belsky (lead )
  • Ben Hanson (contributor )

Details

Stars: 76
Issue openned: 2
Downloads: 52082
0.6.0
7 years ago
Download DLL for processor with 64 bits architecture (x64)
PHP 7.1
Loading...
PHP 7.0
Loading...
Download DLL for processor with 32 bits architecture (x86)
PHP 7.1
Loading...
PHP 7.0
Loading...
Request a build
Request to the website owner's team the built this extension with this parameters. The result is not guaranteed and can be impossible for many reasons. The extension source code is frequently not upto date with the most recent PHP version.
If you have another code source for this extension, provide it in comment.
Please (or register) to request a build.
Version 0.6.0 change log


- 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:

  • php >=7.0
  • pearinstaller >=1.4.0