On Mon, Mar 6, 2017 at 22:55 Sebastian Bergmann <sebast...@php.net> wrote:
> Am 06.03.2017 um 22:40 schrieb Sara Golemon: > > https://github.com/sgolemon/astkit > > There's also https://github.com/nikic/php-ast. > > But wouldn't it be great if PHP 7.2 shipped with a built-in, > enabled-by-default extension for AST operations? I'd be happy if this were to go forward. When/if there are changes to AST, having a tool like these in core would require them to be updated at the same time. Would this concept also want to extend to a VLD-esque extension as well for the same reasons? I'd be receptive for abilities to expose the core internal ast/ops to userland more easily as a core extension However I'm sure there are valid reasons why VLD (or similar) have not been included; and would wonder if those would also end up applying to the AST -- Dave >