Re: EBNF
| From: | Rune Kaagaard | Date: | Fri, 31 Dec 2010 11:42:49 +0000 |
| Subject: | Re: EBNF | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-51149@lists.php.net to get a copy of this message | ||
Dear internals
After enviously looking at pythons grammar
(http://docs.python.org/dev/reference/grammar.html) I keep feeling
that PHP is missing out on a lot of interesting meta projects by not
having an official EBNF.
Building your own PHP parser is _very_ hard and is PhD (Paul Biggar:)
level stuff if you wan't to get all the edge cases right. Having _the_
official EBNF would make this easier.
I know there is a lot of historical reasons for this and that creating
and maintaing said EBNF is a very serious task, one that is maybe too
big for a non-paying open source project.
But still I have to ask if I'm the only one thinking about this or is
there something I'm being completely ignorant about?
Happy newyear!
Rune Kaagaard