Re: [RFC] New extension proposal: meta

From: Date: Mon, 05 Sep 2011 15:37:37 +0000
Subject: Re: [RFC] New extension proposal: meta
References: 1 2  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-8517@lists.php.net to get a copy of this message
On Sat, 3 Sep 2011, Flavius Aspra wrote:
Meta will enable userland scripts to get the AST of a PHP source code, to manipulate it, and if desired, to serialize it back to valid PHP code.
If there is no usage of current built-in PHP lexer/parser as you mentioned, I don't see many benefits for making this as "C" extension. I think user space approach is better - https://github.com/nikic/PHP-Parser - this project is similar to yours I think. But I'm not against, maybe sometimes it will be useful for PHP core for switching current lexer/parser. M. Kubelik

« previous php.pecl.dev (#8517) next »