Re: PHP_Parser - status of Core
| From: | Greg Beaver | Date: | Wed, 19 May 2004 22:47:01 +0000 |
| Subject: | Re: PHP_Parser - status of Core | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-29411@lists.php.net to get a copy of this message | ||
Hi Alan,
Core.jay/Core.php is deprecated, what should be used is Core5.jay/Structure.php and the completely unfinished Extendable.jay/Extendable.php (This should be Extensible to be grammatically correct, but oh well :). It parses PHP4 code perfectly (at least it should - only code containing functions/constants with PPM names or "clone" will bail).
Sorry I've been a bit stalled on work on this (and, incidentally, phpDocumentor). Concert schedule is such that I have the time and energy to work on one project at a time, and so that's been PEAR, getting channels coded (which is done - some more regression testing to do).
Greg
Alan Knowles wrote:
I'm just playing around with PHP_Parser (re: a few CVS commits) From what I guess = Core.jay/Core.php is pretty much depreciated? - I've regenerated a working version so that the docs/examples/test1.php should work. If it's not a problem I'll commit it. The main reason for looking at it is, I'm toying with the BinaryPHP project - plugging in a real parser so it can generate code from a tree, rather than it's crude tokenizer.. - the plugin parser architecture of PHP_Parser makes that quite easy now. Regards Alan