2017 © Pedro Peláez
 

library phpeg

PEG Parser Generator

image

scato/phpeg

PEG Parser Generator

  • Sunday, March 29, 2015
  • by scato
  • Repository
  • 2 Watchers
  • 7 Stars
  • 520 Installations
  • PHP
  • 4 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 9 Versions
  • 8 % Grown

The README.md

PHPeg

PEG Parser Generator, (*1)

This project is still unstable. Some features like case-insensitive literals are stil missing. The rest should work, though., (*2)

Usage

Install this tool as a dev requirement:, (*3)

"require-dev": {
    "scato/phpeg": "1.*"
}

You can now generate (and regenerate) parsers using the command line tool:, (*4)

$ vendor/bin/phpeg generate <input-file> [<output-file>]

Read the grammar section in the documentation for help on the grammar syntax. Read the usage section for more details on both basic and advanced usage., (*5)

About

PHPeg is a PEG parser generator., (*6)

The generated parser is a PEG parser that uses memoization. This effectively makes it a Packrat Parser, or so I'm told., (*7)

PHPeg is heavily inspired by PEG.js. The grammar section contains details on the differences., (*8)

The Versions

29/03 2015

dev-master

9999999-dev

PEG Parser Generator

  Sources   Download

MIT

The Requires

 

The Development Requires

parser peg

29/03 2015

1.0.2

1.0.2.0

PEG Parser Generator

  Sources   Download

MIT

The Requires

 

The Development Requires

parser peg

25/08 2014

1.0.0

1.0.0.0

PEG Parser Generator

  Sources   Download

MIT

The Requires

 

The Development Requires

parser peg

21/08 2014

0.3.2

0.3.2.0

PEG Parser Generator

  Sources   Download

MIT

The Requires

 

The Development Requires

parser peg

19/08 2014

0.3.0

0.3.0.0

PEG Parser Generator

  Sources   Download

MIT

The Requires

 

The Development Requires

parser peg

19/08 2014

0.2.3

0.2.3.0

PEG Parser Generator

  Sources   Download

MIT

The Requires

 

The Development Requires

parser peg

18/08 2014

0.2.2

0.2.2.0

PEG Parser Generator

  Sources   Download

MIT

The Requires

 

The Development Requires

16/08 2014

0.2.0

0.2.0.0

PEG Parser Generator

  Sources   Download

MIT

The Requires

 

The Development Requires

20/07 2014

0.1.0

0.1.0.0

  Sources   Download

The Development Requires