Releases: smuuf/php-peg
Releases · smuuf/php-peg
php-peg 3.1.0
Updated tests to pass with PHP 8.3, also updated minimum PHP version to 8.0.
Full Changelog: 2.2.3...3.1.0
php-peg 3.0.0
Full Changelog: 2.2.3...3.0.0
php-peg 2.2.3
Fixed passing new stack, removed colors from debug output for cleaner…
php-peg 2.2.2
More fixes and micro-optimizations.
php-peg 2.2.1
php-peg 2.2
- Create "next stack" inside rule handlers only if necessary.
php-peg 2.1.2
php-peg 2.1
- Fix, Optimization: Packrat parser overhaul. Simplified logic using arrays instead of a string. Arrays ultimately seemed to be more fit for the job, memory-wise. This also fixed occasional problem with accessing undefined indexes in packrat cache.
- Fixed: Catastrofic backtracking problem (sometimes happening when compiling a larger grammar) avoided by simplifying regex that searches for grammar definitions.
- Fixed: Fixed tests for PHPUnit 6.5 (which is now also added as
dev
dependency tocomposer.json
) - Optimization: Using native PHP constants and functions with absolute namespace is slightly faster (changed in generated code, too).
- Optimization: Use strict comparisons where possible (even in generated code).