On Mon, Feb 16, 2015 at 1:10 PM, Alexander Lisachenko <
lisachenko...@gmail.com> wrote:

>
> 2015-02-16 14:42 GMT+03:00 Dmitry Stogov <dmi...@zend.com>:
>
>> the idea to not evaluate non-constant expressions at all, but just keep
>> AST and provide interface to read it.
>> PHP extensions should be able to use them as they like. (evaluate or
>> insert into AST of function(s), etc).
>>
>> Thanks. Dmitry.
>
>
>
> It's a good decision, userland frameworks, such as Doctrine/Go! AOP/etc
> will use this AST nodes and node visitors to provide an extension
> mechanism. Strong +1 here for AST nodes.
>

i think its a bit complicated for userland, although i clearly see the
benefit for things like DbC and AOP.

but what is the API of an AST node and how does the visitor look like?

Reply via email to