Description
Text_Parser is an LALR(n) parser. The package basically contains an interpreter for a finite state automata, usable as a parser when given the relevant state information.
Text_Parser is not meant to be directly used. The common usage is to have Text_Parser_Generator define a Text_Parser subclass for a given grammar.
In order for a Text_Parser subclass to be usable, it needs to define reduction functions, the parser action table and the parser goto table. All of these are pretty time-consuming tasks unless automated by a compiler-compiler such as Text_Parser_Generator.
Download
Download at http://pear.sergiocarvalho.com/repository/Text_Parser-0.2.0.tgz
Documentation at http://pear.sergiocarvalho.com/docs/Text_Parser-0.2.0/
Browse source code at http://pear.sergiocarvalho.com/browse/Text_Parser-0.2.0
Install with:
pear install sergiosgc/Text_Parser