Re: Grammar for PHP
| From: | Ryan King | Date: | Sun, 28 Nov 2004 16:05:58 +0000 |
| Subject: | Re: Grammar for PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-203013@lists.php.net to get a copy of this message | ||
On Nov 28, 2004, at 7:28 AM, Dominic Fox wrote:
Hi, I would like to parse some PHP files to extract some information about them. Is there a formal grammar (EBNF or other) anywhere that I could use as a reference? I'd like to write the parser myself (in Haskell), so existing PHP parsers (in PHP itself, for instance) aren't quite what I'm looking for.Have you tried poking around in cvs.php.net? -ryan