Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:52263 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 99205 invoked from network); 11 May 2011 00:02:00 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 May 2011 00:02:00 -0000 Authentication-Results: pb1.pair.com header.from=johannes@schlueters.de; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=johannes@schlueters.de; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain schlueters.de from 217.114.211.66 cause and error) X-PHP-List-Original-Sender: johannes@schlueters.de X-Host-Fingerprint: 217.114.211.66 unknown Received: from [217.114.211.66] ([217.114.211.66:37573] helo=config.schlueters.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 5D/A6-04851-BE1D9CD4 for ; Tue, 10 May 2011 20:01:48 -0400 Received: from [192.168.2.230] (ppp-93-104-62-18.dynamic.mnet-online.de [93.104.62.18]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by config.schlueters.de (Postfix) with ESMTPSA id A543A72505; Wed, 11 May 2011 02:01:44 +0200 (CEST) To: Ferenc Kovacs Cc: Christopher Jones , Martin Scotta , internals@lists.php.net In-Reply-To: References: <4DC826B1.4090806@lerdorf.com> <4DC82A36.8090604@lerdorf.com> <4DC83401.2090202@sugarcrm.com> <4DC8D122.3050507@lsces.co.uk> <4DC8F125.2010503@toolpark.com> <4DC8FB1A.7040206@lerdorf.com> <4DC98100.6080806@oracle.com> Content-Type: text/plain; charset="UTF-8" Date: Wed, 11 May 2011 02:01:39 +0200 Message-ID: <1305072099.3095.15.camel@guybrush> Mime-Version: 1.0 X-Mailer: Evolution 2.30.2 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] annotations again From: johannes@schlueters.de (Johannes =?ISO-8859-1?Q?Schl=FCter?=) On Tue, 2011-05-10 at 20:21 +0200, Ferenc Kovacs wrote: > creating an official EBNF would solve this problem, among others as well. > http://marc.info/?l=php-internals&m=129387252319019 > > patches welcome ;) A formal syntax description might help with highligting, not with all assisting features an IDE provides (good and useful autocomplete, having some visualisation of the code structure ("class tree" incl. annotation) and all these) The main point in regards to IDEs and such thing imo is that it shows how long it takes for the eco system to pick a change up. The result is that it takes "ages" till a new standard can be relied upon. This is worse for a new syntax as there is no way to have code compatible with 5.4 and 5.3 then. There focussing around the existing way (doc block, more efficient doc block parsing, ...) helps. Then again "proper" annotations might solve tomorrows problem. johannes, who does not argue about annotations themselves