Re: [RFC] Introduce Abstract Syntax Tree
| From: | guilhermeblanco@gmail.com | Date: | Thu, 31 Jul 2014 18:31:11 +0000 |
| Subject: | Re: [RFC] Introduce Abstract Syntax Tree | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-76297@lists.php.net to get a copy of this message | ||
OMG, so +1 on this! *rolling eyes*
We'd be a step away for hookable grammars! \o/
On Thu, Jul 31, 2014 at 2:27 PM, Michael Wallner <mike@php.net> wrote:
> On 31 July 2014 20:11, Nikita Popov <nikita.ppv@gmail.com> 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:
> >
> > https://wiki.php.net/rfc/abstract_syntax_tree
> >
> > The 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.
> >
>
> Sounds great! BTW, wasn't there a related AST GSOC project once?
>
>
> --
> Regards,
> Mike
>
--
Guilherme Blanco
MSN: guilhermeblanco@hotmail.com
GTalk: guilhermeblanco
Toronto - ON/Canada