2017 © Pedro Peláez
 

library php-parser

Define and parse a context-free grammar

image

datto/php-parser

Define and parse a context-free grammar

  • Thursday, August 13, 2015
  • by smortensen
  • Repository
  • 6 Watchers
  • 2 Stars
  • 94 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 6 Versions
  • 0 % Grown

The README.md

Parser for PHP

Specifies the rules that define your context-free grammar, and then gain the ability to parse any text source. The output is an abstract syntax tree ready for semantic analysis., (*1)

Features

  • Powerful recursive-descent parser
  • 100% unit-test coverage
  • Ultra-lightweight (just one small file)

Requirements

  • PHP >= 5.3

License

This package is released under an open-source license: LGPL-3.0, (*2)

Installation

If you're using Composer, you can use this package (datto/php-parser) by inserting a line into the "require" section of your "composer.json" file:, (*3)

        "datto/php-parser": "~3.0"

Unit tests

You can run the suite of unit tests from the project directory like this:, (*4)

./vendor/bin/phpunit

Author

Spencer Mortensen, (*5)

The Versions

13/08 2015

dev-master

9999999-dev http://datto.com

Define and parse a context-free grammar

  Sources   Download

LGPL-3.0

The Requires

  • php >=5.3.0

 

The Development Requires

parser php recursive parse grammar context-free

13/08 2015

3.1.0

3.1.0.0 http://datto.com

Define and parse a context-free grammar

  Sources   Download

LGPL-3.0

The Requires

  • php >=5.3.0

 

The Development Requires

parser php recursive parse grammar context-free

12/08 2015

3.0.1

3.0.1.0 http://datto.com

Define and parse a context-free grammar

  Sources   Download

LGPL-3.0

The Requires

  • php >=5.3.0

 

The Development Requires

parser php recursive parse grammar context-free

12/08 2015

3.0.0

3.0.0.0 http://datto.com

Define and parse a context-free grammar

  Sources   Download

LGPL-3.0

The Requires

  • php >=5.3.0

 

The Development Requires

parser php recursive parse grammar context-free

18/06 2015

2.0.0

2.0.0.0 http://datto.com

Define and parse a context-free grammar

  Sources   Download

LGPL-3.0

The Requires

  • php >=5.3.0

 

The Development Requires

parser php recursive parse grammar context-free

13/04 2015

1.0.0

1.0.0.0 http://datto.com

Define and parse a context-free grammar

  Sources   Download

LGPL-3.0

The Requires

  • php >=5.3.0

 

The Development Requires

parser php recursive parse grammar context-free