Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:51151 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 87884 invoked from network); 31 Dec 2010 12:01:10 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 31 Dec 2010 12:01:10 -0000 Authentication-Results: pb1.pair.com smtp.mail=weigelt@metux.de; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=weigelt@metux.de; sender-id=unknown Received-SPF: error (pb1.pair.com: domain metux.de from 82.165.128.25 cause and error) X-PHP-List-Original-Sender: weigelt@metux.de X-Host-Fingerprint: 82.165.128.25 caprica.metux.de Linux 2.6 Received: from [82.165.128.25] ([82.165.128.25:34583] helo=mailgate.caprica.metux.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 7A/8A-14489-506CD1D4 for ; Fri, 31 Dec 2010 07:01:10 -0500 Received: from mailgate.caprica.metux.de (localhost.localdomain [127.0.0.1]) by mailgate.caprica.metux.de (8.14.4/8.14.4) with ESMTP id oBVBu1dF013025 for ; Fri, 31 Dec 2010 12:56:01 +0100 Received: (from uucp@localhost) by mailgate.caprica.metux.de (8.14.4/8.14.4/Submit) with UUCP id oBVBtLdV013007 for internals@lists.php.net; Fri, 31 Dec 2010 12:55:21 +0100 Received: (from weigelt@localhost) by nibiru.metux.de (8.12.10/8.12.10) id oBVBs8co016636 for internals@lists.php.net; Fri, 31 Dec 2010 12:54:08 +0100 Date: Fri, 31 Dec 2010 12:54:08 +0100 To: internals@lists.php.net Message-ID: <20101231115408.GD18520@nibiru.local> Reply-To: weigelt@metux.de References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i X-Terror: bin laden, kill bush, Briefbombe, Massenvernichtung, KZ, X-Nazi: Weisse Rasse, Hitlers Wiederauferstehung, 42, X-Antichrist: weg mit schaeuble, ausrotten, heiliger krieg, al quaida, X-Killer: 23, endloesung, Weltuntergang, X-Doof: wer das liest ist doof Subject: Re: [PHP-DEV] Re: EBNF From: weigelt@metux.de (Enrico Weigelt) * Rune Kaagaard 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: weigelt@metux.de mobile: +49 151 27565287 icq: 210169427 skype: nekrad666 ---------------------------------------------------------------------- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme ----------------------------------------------------------------------