Re: Recursive Descent Parser

From: Date: Mon, 13 Mar 2006 06:19:44 +0000
Subject: Re: Recursive Descent Parser
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-41772@lists.php.net to get a copy of this message
I remember attending a talk by Damian Conway back in '01 (I think) about his Parse::RecDescent package in CPAN [1][2]. That seems like one of the older implementations (perhaps I am wrong and the Python one predates this one). There is also a FAQ in [3] that talks something more about the peculiar characteristics of this library. Sebastian, have you looked at Conway's implementation? If memory serves there is ANTLR and Coco/R (sp?) that are libs/apps to generate recursive parsers. Cheers. [1] http://search.cpan.org/dist/Parse-RecDescent/ [2] http://www.perl.com/pub/a/2001/06/13/recdecent.html [3] http://search.cpan.org/~tbone/Parse-RecDescent-FAQ-4.0/FAQ.pm --- Alan Knowles <alan@akbkhome.com> wrote: > Interesting project, looks like it would be slow for a complex parser, > -> maybe feasible if the backend was in C? > > Regards > Alan > Sebastian Bergmann wrote: > > > Has anyone thought about writing a package for recursive descent > > parsing, for instance by porting pyparsing [1] from Python to PHP 5? > > > > -- > > [1] http://pyparsing.sourceforge.net/ > > > > > > > > -- > PEAR Development Mailing List (http://pear.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Jesus M. Castagnetto (jcastagnetto@yahoo.com) Web site: http://www.castagnetto.org/ Research: http://metallo.scripps.edu/ PEAR stuff: http://pear.php.net/user/jmcastagnetto __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com

« previous php.pear.dev (#41772) next »