* Rune Kaagaard <rumi...@gmail.com> wrote:
> 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.

ACK. PHP also misses a lot of other fundamental specifications
(at least I'm not aware of them). That's probably one of reasons
for the many problems experienced from user and enterprise operator
side: sudden semantic changes.

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

Hmm, perhaps it really would make a good PhD project to actually
create a clear specification, a full language report (at least for
the language itself and the core library) and write an tiny reference
implementation. Once that specification is finished, it should become
the official one where official PHP is tested against.


cu
-- 
----------------------------------------------------------------------
 Enrico Weigelt, metux IT service -- http://www.metux.de/

 phone:  +49 36207 519931  email: weig...@metux.de
 mobile: +49 151 27565287  icq:   210169427         skype: nekrad666
----------------------------------------------------------------------
 Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme
----------------------------------------------------------------------

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to