Re: PhpBeautify draft
| From: | Tobias Schlitt | Date: | Thu, 13 May 2004 22:47:32 +0000 |
| Subject: | Re: PhpBeautify draft | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-29236@lists.php.net to get a copy of this message | ||
Hi!
Just some quick notes:
Gerg Beaver is working on PHP_Parser which is a PHP implementation to parse PHP for several purposes (e.g. beautifying, doc parsing, reflection,...). Maybe you can get in contact with him about your stuff and maybe using PHP_Parser?
Your website states, that the code is GPL licensed. This has to be changed to get it into PEAR.
The parsing of the PHP open tags seems to be case sensitive. E.g. ZDE makes upper case "<?PHP", which is translated to "<?php PHP".
The "(<cond>) ? <then> : <else>" syntax is broken down after the ":" automatically.
Beside that. I like it. :)
Regards,
Toby
--
Tobias Schlitt GPG Key: 0xA6529579
a passion for php http://www.schlitt.info