A new PHP Parser is back

From: Date: Mon, 07 Mar 2011 17:30:05 +0000
Subject: A new PHP Parser is back
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-54136@lists.php.net to get a copy of this message
Hello all, Finally after month since I've begun to rewrite PHP_CompatInfo 2 in full PHP5, with help of PHP_TokenStream, I've decided to continue adventure with a new parser. An old parser by : - the name, because I re-used my old name "PHP_Reflect" (old project in PHP4 - not really a revolution, because it's closed to PHP_TokenStream. A new parser by : - hope to be used by most of users that need a PHP parser - improve it more quickly than phptok, depending of your feedback Here are advantages between PHP_Reflect and PHP_TokenStream : - ability to extends core with a hook system (callback connect to a token) - ability to choose containers name that store results - access with getting methods or through the ArrayAccess interface If you're interrested by this project, follow me on gitHub [1] and on my project page [2]. Perharps it could be include in PEAR via a proposal, if there is enough audience for that. On the meantimes, I continue to work on PHP_CompatInfo 2 that will receive soon help of PHP_Reflect (that will allow to have a clean-up in RC2 code). Oh and I would like to thanks, again, here in public help of Remi Collet that joins PHP_CompatInfo 2 project by helping me on extensions references that I didn't realized. Laurent Laville [1] https://github.com/llaville/php-reflect [2] http://php5.laurent-laville.org/reflect/ [3] http://php5.laurent-laville.org/compatinfo/

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