Re: Moving to an AST-based parsing/compilation process

From: Date: Thu, 06 Sep 2012 08:51:28 +0000
Subject: Re: Moving to an AST-based parsing/compilation process
References: 1 2 3 4 5  Groups: php.internals 
Request: Send a blank email to internals+get-62853@lists.php.net to get a copy of this message
On 09/06/2012 09:11 AM, Stas Malyshev wrote:
As for third-party tools, I do not see why third-party tools need PHP to change the parser. If PHP's parser is not good enough for those tools, they can have their own parser.
Nikita is doing an amazing job with PHP_Parser, which is such a third-party tool. However, it will always lag behind the canonical parser. And it will (probably) never match 100% the behavior of the canonical parser. This is why, from my perspective of someone who is interested in static analysis and quality assurance, I think that it would be a tremendous boost for the PHP platform if we had a state-of-the-art parser for the reference implementation of our programming language.

« previous php.internals (#62853) next »