generating code from AST
| From: | Adam Baratz | Date: | Mon, 06 Mar 2017 21:37:05 +0000 |
| Subject: | generating code from AST | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-98410@lists.php.net to get a copy of this message | ||
I'm exploring how to automate some basic kinds of refactor operations. One
approach I'm considering:
- Generate an AST
- Rearrange it as needed
- Turn it back into userland code
Is this something anyone's explored?
Thanks,
Adam