Re: [RFC] Introduce Abstract Syntax Tree
| From: | rich gray | Date: | Fri, 01 Aug 2014 16:43:54 +0000 |
| Subject: | Re: [RFC] Introduce Abstract Syntax Tree | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-76307@lists.php.net to get a copy of this message | ||
On 31/07/2014 20:11, Nikita Popov wrote:
Hi internals! I've created a draft RFC and implementation for the introduction of an Abstract Syntax Tree (AST) as an intermediate structure in our compilation process:Sorry for any unwelcome noise from user land Richhttps://wiki.php.net/rfc/abstract_syntax_treeThe RFC outlines why an AST is beneficial, how it impacts performance and memory usage of the compile process and what changes to syntax or behavior it introduces. Furthermore the RFC contains an outline of how the current implementation works and what APIs it provides. This section is just an overview and I hope to extend it in the future. Note: I'm on vacation as of tomorrow and wanted to put this up to discussion beforehand. I won't be able to implement any feedback while I'm away, but can of course answer questions :) Thanks, Nikita I know I am not supposed to comment as just a PHP dev who uses the language day to day for my living -- above is another example of why Nikita is a person who just delivers - for me he completely defused the 64bit vs php-ng stuff a few weeks back with a technical analysis i.e. no political crap - so maybe we need an rfc for a benign dictator for PHP (as Rasmus is too busy I guess) and the community seems pretty fractioned with endless arguments .. anyway I think you'd know who'd get my vote :) -- we all know php-ng and 64bit are essential so get them implemented and the documentation can follow... :)