Description

Text_Parser_Generator is a compiler-compiler. It analyzes a grammar, defined as a Structures_Grammar instance, and produces code for a parser, based on Text_Parser, capable of parsing the provided grammar.

The Structures_Grammar instance can be created with PHP code, or by using a grammar definition grammar and a suitable parser (check Text_Parser_BNF for a BNF parser).

Download

Download at http://pear.sergiocarvalho.com/repository/Text_Parser_Generator-0.2.0.tgz
Documentation at http://pear.sergiocarvalho.com/docs/Text_Parser_Generator-0.2.0/
Browse source code at http://pear.sergiocarvalho.com/browse/Text_Parser_Generator-0.2.0
Install with: pear install sergiosgc/Text_Parser_Generator