-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
29 changed files
with
37 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
PHPPEG | ||
==== | ||
|
||
PEG Parser Combinator for PHP5. | ||
|
||
Install | ||
---- | ||
|
||
Use [composer](http://getcomposer.org/) to install this library. | ||
|
||
$ mkdir foobar && cd foobar | ||
$ echo '{"require": {"phppeg/phppeg": "*"}}' > composer.json | ||
$ composer install | ||
|
||
And include "vendor/autoload.php" to setup auto-loading for PHPPEG in your code. | ||
|
||
<?php | ||
include_once __DIR__ . '/vendor/autoload.php'; | ||
|
||
How to run tests and examples | ||
---- | ||
|
||
Execute setup.sh after git-clone to setup auto-loading. | ||
|
||
$ git clone https://github.com/anatoo/PHPPEG.git | ||
$ cd PHPPEG | ||
$ ./setup.sh | ||
|
||
Run all tests: | ||
|
||
$ php test/t/testall.php | ||
|
||
Run examples: | ||
|
||
$ php examples/example01.php | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.