Re: Re: [PHP-DEV] 6.0 And Moving Forward
| From: | Morgan L. Owens | Date: | Sun, 15 Jul 2012 03:49:23 +0000 |
| Subject: | Re: Re: [PHP-DEV] 6.0 And Moving Forward | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-61241@lists.php.net to get a copy of this message | ||
On 2012-07-14 04:12, jpauli wrote:
On Fri, Jul 13, 2012 at 5:33 PM, Anthony Ferrara <ircmaxell@gmail.com> wrote:4. Rewrite the entire parser completely. I keep hearing about how bad PHP's parser is, and how it's growing out of control. Perhaps this is a good time to rewrite it (perhaps changing semantics slightly) to be better adapted towards future changes...We have an RFC and a patch playing with lemon parser. Actually, just a conversion, reentrant. Refer to Pierrick or Felipe about it :-) Will the conversion include writing a formal definition of the language from the perspective of someone planning to write a PHP parser? Right now the only way to get such a definition is to reverse-engineer the Bison source.