Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mindplay-dk/petitparserphp
Lukas Renggli's excellent PetitParser ported to PHP
https://github.com/mindplay-dk/petitparserphp
Last synced: 3 months ago
JSON representation
Lukas Renggli's excellent PetitParser ported to PHP
- Host: GitHub
- URL: https://github.com/mindplay-dk/petitparserphp
- Owner: mindplay-dk
- Created: 2014-06-26T20:52:51.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-06-12T10:44:12.000Z (over 8 years ago)
- Last Synced: 2024-04-19T01:21:05.787Z (8 months ago)
- Language: PHP
- Size: 110 KB
- Stars: 5
- Watchers: 3
- Forks: 0
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
PetitParserPHP
==============Lukas Renggli's PetitParser ported to PHP by Rasmus Schultz.
[![Build Status](https://travis-ci.org/mindplay-dk/petitparserphp.png)](https://travis-ci.org/mindplay-dk/petitparserphp)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/mindplay-dk/petitparserphp/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/mindplay-dk/petitparserphp/?branch=master)
[![Code Coverage](https://scrutinizer-ci.com/g/mindplay-dk/petitparserphp/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/mindplay-dk/petitparserphp/?branch=master)
Status of this port
-------------------- The port is up-to-date with release 1.3.4 of dart-petitparser.
- The core has been ported, and all core unit tests have been ported and are passing.
- The previous version of the JSON parser has been ported along with the tests. (newer version
is based on GrammarParser which has not been ported, because it uses language mechanics that
aren't applicable to PHP.)- **API (method-names, etc.) are still subject to change** pending the first tagged release.
Scope of this port
------------------- Other grammars and parsers (XML, Dart, Lisp, etc.) have not been ported, and isn't planned.
- "definition.dart" cannot be directly ported due to different language mechanics.
Contributions
-------------Code adheres to PSR-1, PSR-2 and PSR-4.
Grammars and parsers belong in separate projects/packages, not in this one.
Source code is fully type-hinted with php-doc, passing all inspections in Php Storm.