Re: PHP parser extension?

From: Date: Wed, 25 Jun 2003 14:14:36 +0000
Subject: Re: PHP parser extension?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-152770@lists.php.net to get a copy of this message
>> Is there some extension or anything that would allow me to hook my code >> to PHP parser? Even lex and yacc for PHP would be great... > > Have you tried the tokenizer? Should be able to build what you're > talking about with that (unless you just want hooks or something). > > http://www.php.net/tokenizer Thanks, I didn't know that exists... Unfortunatelly it is still very immature (curious - i would think they would just take zend-scanner.l for this job) and doesn't parse the code - but it will suffice for a job I have in mind. Thank you again! Anze

« previous php.general (#152770) next »