PHP_Parser and AST
| From: | Sebastian Bergmann | Date: | Thu, 02 Feb 2006 07:06:56 +0000 |
| Subject: | PHP_Parser and AST | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-41174@lists.php.net to get a copy of this message | ||
William Candillon wrote an AST framework for PHP based upon PHP_Parser.
It can parse PHP code into an AST and serialize that AST (after one has
transformed, which is the point :) back to PHP sourcecode.
The AST framework is currently bundled with PHPAspect [1], but William
is okay with unbundling it and making it a PEAR package. I would really
love to see this go into PEAR. Unfortunately, neither William nor I have
currently the time to work on this. Are there any volunteers? Thanks!
--
[1] http://www.phpaspect.org/
--
Sebastian Bergmann http://www.sebastian-bergmann.de/
GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69