Welcome to the Monastery | |
PerlMonks |
Re: Eliminating Left Recursion in Parse::RecDescentby Matts (Deacon) |
on Mar 21, 2002 at 18:53 UTC ( [id://153384]=note: print w/replies, xml ) | Need Help?? |
Also note that if you have a tokeniser as a regexp, then once you've eliminated left-recursion from a grammar it's dead easy to write a pure perl parser for that grammar without using a parser module. See XML::XPath::Parser for an example of this, and also XML::SAX::PurePerl.
Edited: Sun Mar 31 22:11:49 2002, by footpad.
In Section
Meditations
|
|