Skip to content

Releases: smuuf/php-peg

php-peg 3.1.0

13 Oct 20:45
Compare
Choose a tag to compare

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

25 Apr 23:42
Compare
Choose a tag to compare

Full Changelog: 2.2.3...3.0.0

php-peg 2.2.3

03 Dec 23:59
Compare
Choose a tag to compare
Fixed passing new stack, removed colors from debug output for cleaner…

php-peg 2.2.2

23 Aug 09:42
Compare
Choose a tag to compare
More fixes and micro-optimizations.

php-peg 2.2.1

01 Apr 14:52
c95d217
Compare
Choose a tag to compare
  • Contains: fix some bugs in store functional #2 (thx @djaf77)

php-peg 2.2

27 Mar 21:42
Compare
Choose a tag to compare
  • Create "next stack" inside rule handlers only if necessary.

php-peg 2.1.2

23 Feb 01:07
Compare
Choose a tag to compare
  • Some minor optimizations and slightly modernized code-style.
  • Fix "Quantified nested groups do not work" #1, thanks to @djaf77

php-peg 2.1

08 Mar 00:02
a509226
Compare
Choose a tag to compare
  • 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 to composer.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).