Re: Can you help me, please? I need PHP's BNF
| From: | Derick Rethans | Date: | Fri, 03 Sep 2004 15:43:21 +0000 |
| Subject: | Re: Can you help me, please? I need PHP's BNF | ||
| References: | 1 | Groups: | php.mirrors |
| Request: | Send a blank email to php-mirrors+get-26045@lists.php.net to get a copy of this message | ||
On Fri, 3 Sep 2004, Ivailo Arabadjiev wrote:
> Hello! I hope that you can help me. As you see, i need
> some formal description of PHP, because I want write a
> translator from PHP to C (or maybe C#), so I need BNF.
The closest thing to that is the bison grammar file:
http://cvs.php.net/co.php/ZendEngine2/zend_language_parser.y?r=1.148
> That's my graduation work. I was searching but...
> nothing:(. I was searching in PHP source, but I
> wouldn't find that what I search. I really hope that
> you can help me, thanking you in advance.
Be warned that this is not an easy task, and from what I saw is that
many attempts at this where done, but I have seen none succeeding yet.
regards,
Derick
--
Derick Rethans
http://derickrethans.nl | http://ez.no | http://xdebug.org