adrpar / EBNFparser

Pragmatic ENBF parser for PHP

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

EBNF Parser - A pragmatic approach
----------------------------------
COPYRIGHT (c) 2014 Adrian M. Partl
built on: pragmatic-parser.php (https://code.google.com/p/pragmatic-parser/):
          COPYRIGHT (c) 2011 Richard Keizer

This is a pragmatic attempt to build a EBNF parser for PHP, following the spirit
of the underlying original project: pragmatic-parser.php by Richard Keizer.

Please see the examples for inspiration on how to use this piece of code.

Contrary to pragmatic-parser, this parser produces a parse tree with PHP arrays.

About

Pragmatic ENBF parser for PHP

License:GNU General Public License v2.0


Languages

Language:PHP 100.0%