On Thu, 2012-09-06 at 09:47 +0100, Sebastian Bergmann wrote: > On 09/06/2012 06:37 AM, Dmitry Stogov wrote: > > The only real advantage could be an ability to expose AST to PHP scripts, > > but only few people may need it. > > Everyone working on static analysis tools for PHP code needs access to > the (canonical) AST. While the number of people behind this "everyone" > will be small (hopefully it will grow) but the tools they create based > based on the AST will be valuable for every PHP developer.
As soon as those tools should be version independent they need their own parser anyhow. Aside from that: I don't see the reason for this discussion now. People can go and implement until this is done it's hard to argue about performance etc. as that can hardly be predicted. If people have a need for this they are free to go. If people don't have a need for this they won't. (A more relevant question might be "Who wants to invest time on this", certainly can be a fun project ...) johannes -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php