Re: generating code from AST
| From: | Derick Rethans | Date: | Tue, 07 Mar 2017 10:33:36 +0000 |
| Subject: | Re: generating code from AST | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-98418@lists.php.net to get a copy of this message | ||
On Tue, 7 Mar 2017, Sebastian Bergmann wrote:
> Am 07.03.2017 um 07:01 schrieb David Walker:
>
> > When/if there are changes to AST, having a tool like these in core
> > would require them to be updated at the same time.
>
> Exactly.
>
> > 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
>
> Having a bytecode disassembler in core would also be nice, yes.
Because installing an extension is too hard? It sounds like reinventing
the wheel.
cheers,
Derick