>> 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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to