Hi I'm Flavius Aspra and over the past weeks [1] I've worked on a small extension, which I think it has a lot of potential. Thanks to everyone for being patient with me on #php.pecl during this time - I've learned a lot!
Meta will enable userland scripts to get the AST of a PHP source code, to manipulate it, and if desired, to serialize it back to valid PHP code. The current status is "not really usable", but it has already reached around 2k LOCs and I think it's easier for you to review it now, than later. The code is still hosted on github, please let me know what needs to be done to make it PECL-compatible. Advices, bug fixes and improvements are welcome. Pending TODOs are listed inline, in the code, as they fit, and longer-term TODOs are in TODO.txt. I've already asked for a first thought on IRC, and people seem to see the need for this extension. The project's page is at [2], it's called "phpmeta" there, so no confusion arises. The extension is simply called "meta". Many other details can be found in the README. Feel free to ask me anything. [1] Actually, I wanted to work on this for GSoC, but I was a little bit late, so I've worked on it in my spare time [2] https://github.com/OriginalCopy/phpmeta Cheers, Flavius -- What I cannot create, I do not understand. -- Feynman -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php