Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:93202 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 88663 invoked from network); 11 May 2016 06:10:02 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 May 2016 06:10:02 -0000 Authentication-Results: pb1.pair.com smtp.mail=pthreads@pthreads.org; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=pthreads@pthreads.org; sender-id=unknown Received-SPF: error (pb1.pair.com: domain pthreads.org from 209.85.161.174 cause and error) X-PHP-List-Original-Sender: pthreads@pthreads.org X-Host-Fingerprint: 209.85.161.174 mail-yw0-f174.google.com Received: from [209.85.161.174] ([209.85.161.174:32832] helo=mail-yw0-f174.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E3/25-64493-8BCC2375 for ; Wed, 11 May 2016 02:10:00 -0400 Received: by mail-yw0-f174.google.com with SMTP id t10so37776798ywa.0 for ; Tue, 10 May 2016 23:10:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pthreads-org.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=t5gS53FG2tj2WvOnz2uGSbGi34JuSklUmZntq+jjbdQ=; b=M5xjubwhc/6jdo6wNrcNJUjcp8Mo2LL8+y7C4yZkWEBICwBO8Ra0ltLLZvIsRMi2lV T9trR9ZT3lC5c6MvbsciF/rrAZsSr+Z4fXrpsECYbnvlecVLBZnOnxdnotMmGBCoU1re uCerf4bFH1iH3YAmKSMII1esvSflGFmSkPCDbvmjXx4dYcK5FSBX+Q8vVgHdYNKD734h B7+4FMvIX3P9G/Z7mC34hKHbEluvAXuJ6fqtKkL+5zobhUlLhpDJ/XsrEgCIWHakqUSz 5mLtEKJ3s7yvEZl+zW9OBRtl3wiEkAYo7Y28YkoE4Jfa2Xl67t+RUht+AnUv8uu2L900 44GQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=t5gS53FG2tj2WvOnz2uGSbGi34JuSklUmZntq+jjbdQ=; b=Xc611Q1otGHPIsRwEI9QLcVL7p9u6+VubJyi56Fwc93goPv2+w8Pp/sZR0sRzJrN+9 hH9NmfBAaJ8UJOU8ZPNVqmqjdd29KeZCLm6HQRb3NOF7jB8vFJr+r9WFNCOkVlxZ88Le WSyRCDyE8ZyD79sBE6K8wg1IkbA0enZiQjoEZu8slmnsg2LUKTXXegW7IRoWDWt8vXBW ILicJcoNSozPzJ5D7Gml3SKOpTSwAuZh7I8IizeMkeQUyexFECUqpI2MQNZpO5w2miu6 sN5rTWOFzU0demoZSshVzUJr3H9Gahr3QHPNcaRgGvyEY2bDx1FGNA8ReFnQdujSXVsc PmCA== X-Gm-Message-State: AOPr4FUu/r4y5EJIJgx2txKbEHXaPMFcaStdq+IKzISJGs4TgCSPmi4MFcEXsqvTTrBSo2Y/+2XfzrPrvvNvSw== MIME-Version: 1.0 X-Received: by 10.129.86.131 with SMTP id k125mr639831ywb.158.1462946998119; Tue, 10 May 2016 23:09:58 -0700 (PDT) Received: by 10.129.109.67 with HTTP; Tue, 10 May 2016 23:09:58 -0700 (PDT) X-Originating-IP: [165.120.173.102] In-Reply-To: References: <8d5d1c42-832d-4406-6bb5-dbf3fc02c364@telia.com> Date: Wed, 11 May 2016 07:09:58 +0100 Message-ID: To: Dmitry Stogov Cc: =?UTF-8?Q?Bj=C3=B6rn_Larsson?= , PHP internals Content-Type: multipart/alternative; boundary=001a1143312c26249205328ae469 Subject: Re: [PHP-DEV] [RFC] [VOTE] PHP Attributes From: pthreads@pthreads.org (Joe Watkins) --001a1143312c26249205328ae469 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Morning, Because you have confused the vote by adding additional options very late in the discussion, and because the majority are in favour of something I think is harmful; I've had to vote no, on a feature that I want :s Cheers Joe On Wed, May 11, 2016 at 7:02 AM, Joe Watkins wrote: > Morning Dmitry, > > > On the other hand simple string may be parsed into AST with just one > additional call to ast\compile_string(). > > You're not really suggesting that I write my tools in user land, are you = ? > It's me, Joe :) > > I *only* want attributes as they were originally proposed, and I can't > vote to reflect that. > > As discussed in private, what I want is attributes, as originally > proposed, and a hookable compiler; Anything else is not good enough. > > Cheers > Joe > > > > On Wed, May 11, 2016 at 6:26 AM, Dmitry Stogov wrote: > >> Hi Joe, >> >> The sense in native support for AST is questionable. >> >> >> On one hand this allows syntax verification. >> >> >> On the other hand simple string may be parsed into AST with just one >> additional call to ast\compile_string(). >> >> >> Thanks. Dmitry. >> >> >> ------------------------------ >> *From:* Joe Watkins >> *Sent:* Wednesday, May 11, 2016 7:46:09 AM >> *To:* Bj=C3=B6rn Larsson >> *Cc:* Dmitry Stogov; PHP internals >> *Subject:* Re: [PHP-DEV] [RFC] [VOTE] PHP Attributes >> >> Morning Dmitry, >> >> I'm not really happy with the voting options here. >> >> I would not vote in favour of a patch that does not include support >> for AST, that's a completely different feature. >> >> As it is, I have to vote yes in favour of AST, but it may be counted >> as a vote in favour of attributes without AST ... >> >> This doesn't seem right ... I don't want attributes without AST, and >> there is no voting option to reflect that. >> >> Cheers >> Joe >> >> On Tue, May 10, 2016 at 11:09 PM, Bj=C3=B6rn Larsson < >> bjorn.x.larsson@telia.com> wrote: >> >>> Den 2016-05-11 kl. 00:00, skrev Dmitry Stogov: >>> >>>> >>>> >>>> On 05/11/2016 12:29 AM, Bj=C3=B6rn Larsson wrote: >>>> >>>>> Den 2016-05-10 kl. 20:29, skrev Dmitry Stogov: >>>>> >>>>> Hi internals, >>>>>> >>>>>> >>>>>> I've started voting on "PHP Attributes" RFC. >>>>>> >>>>>> >>>>>> https://wiki.php.net/rfc/attributes >>>>>> >>>>>> >>>>>> In my opinion, "PHP Attributes" might be a smart tool for PHP >>>>>> extension, but it's not going to be the end of the world, if we deci= ded to >>>>>> live with doc-comments only. >>>>>> >>>>>> >>>>>> Thanks. Dmitry. >>>>>> >>>>>> Thanks for the good work. Regarding naming, I googled >>>>> "PHP attributes" vs "PHP annotations" and looking at the >>>>> result, my view is that that Annotation is a better naming >>>>> then Attributes. Any hope in changing it? >>>>> >>>> >>>> The more I listen to arguments of adepts of existing PHP annotation >>>> systems, the more I think, that "PHP attributes" is the right name for= this >>>> proposal. >>>> This feature is not just for PHP annotation systems. >>>> >>> >>> Thats a fair point, so Annotation it's not. Still, when I hear PHP >>> attributes I associate it with class / function attributes. Maybe >>> just a question getting used to the naming. Hm, wonder if PHP >>> directives could have been an option? >>> >>> Regards //Bj=C3=B6rn >>> >>> >>> >>> -- >>> PHP Internals - PHP Runtime Development Mailing List >>> To unsubscribe, visit: http://www.php.net/unsub.php >>> >>> >> > --001a1143312c26249205328ae469--