This is an example parser written for the "Let's build a Parser!" talk at the Dutch PHP Conference of 2012.
Over several versions a Parser for a simplistic Querying language is built up using both predictive recursive descent and PHP-PEG.
To install this projects dependencies you must use PHP5.3+ and Composer, please follow these instructions: https://github.com/composer/composer#installation--usage
To run the test suite you must have PHPUnit installed, after which you can simply run the phpunit command in the project root.