Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 637 Bytes

README.md

File metadata and controls

13 lines (9 loc) · 637 Bytes

QueryLang - A Parser for a Querying Language in PHP

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.