Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:111354 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 82684 invoked from network); 6 Aug 2020 09:23:13 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 6 Aug 2020 09:23:13 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 18AC61804C8 for ; Thu, 6 Aug 2020 01:21:21 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-Virus: No X-Envelope-From: Received: from mail-il1-f195.google.com (mail-il1-f195.google.com [209.85.166.195]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Thu, 6 Aug 2020 01:21:20 -0700 (PDT) Received: by mail-il1-f195.google.com with SMTP id c6so4614373ilo.13 for ; Thu, 06 Aug 2020 01:21:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=Lh2zZ3Surscvm8xpOnb08ZBymv0AHit8U2ig0RFMPIg=; b=VYY8xdndmSZLzyAmGqy4PgwX9wc3Vbdw2tAjCpAwV/TD1+axn/eC0JZQZTp/pWKLFW CFhkzUlG4VQIaz06RJzAhPPYpxhlk+GM0UISyst4VX+xgEtcCBafgudzeNysHdjoCWAC ZWOXu9trCr4Zavg9zT3zAJmPprGSeCMA7sbNA7SDYyk7H9qfUTc9R9gJTWRzGVC4J+6V R21fO/b+94bMeImNPkYRdHbYjftnBsbUM1fouzEoe/Qvqry9gShtNzBCKe6u9gknMpxN Hhk4qAj4Va5LFPsEbxxxjvNJpeF3UyAaJOstcoKU11pzUJP7OlONQrlVJwqyjjEl0dQj CzYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=Lh2zZ3Surscvm8xpOnb08ZBymv0AHit8U2ig0RFMPIg=; b=dE+PgxC+yFe7FcAxcUBlBEyS301MMiDll7OSyarB6fxub31zVoYWyHn5o645HwBZn1 gvzb1u+0A3nQdAGNZc+kL6qayX3cwxZftWXHheeLMjwIqYkRuajiamRZXxkNQ3r0a71x ji6BwaGFrbNb6RoHwMWp1QNkSOBjHs0bwqscto01qk0IuC6Tsf7ttSNnHuVG391RBYuM 0b4dzBbOsn5cewBn2K0pxBPUhFVbjpweJ9VSP+01zrZvMeU9LlJ6DRnHZoNtTNYyfezv nIm4EHfBtyNKxsE2pVIR4sml+KYlpBDUHkWe5YN2f3JW1hkiDrxVYyvkWN9NuUPmA6V+ Q93Q== X-Gm-Message-State: AOAM533r81pZ3tudYdnbUg67CX9EBBbE1eVmjc88F0tYrEBtNlNQlskq yNXNrg0WG4aJLxm3CqIM2+EL4Ts4kjGRvvanfKLuFPw/ X-Google-Smtp-Source: ABdhPJww2koelwhqB2O6MPAm+KqwkulVZOFj9+c14krCY7RYEjOrm0pV6OdGDEwmlFArHESp+xHAWPzUfa4zxhxg5mw= X-Received: by 2002:a92:9905:: with SMTP id p5mr9810688ili.227.1596702078637; Thu, 06 Aug 2020 01:21:18 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Thu, 6 Aug 2020 09:21:06 +0100 Message-ID: To: PHP Developers Mailing List Content-Type: multipart/alternative; boundary="000000000000359cd605ac312c67" Subject: Re: [PHP-DEV] [RFC] Shorter Attribute Syntax Change RFC 0.2 From: rowan.collins@gmail.com (Rowan Tommins) --000000000000359cd605ac312c67 Content-Type: text/plain; charset="UTF-8" On Thu, 6 Aug 2020 at 07:40, Derick Rethans wrote: > On Wed, 5 Aug 2020, Rowan Tommins wrote: > > The confusing thing about this argument is that as soon as they have > > arguments, attributes will have an ending delimiter _whatever_ syntax > > we choose, because nobody has ever proposed removing the parentheses > > around the arguments. > > The syntax that would start it (@@) is not the same, or related to the > parenthesis that follow the attribut name ( () ). They are not linked, > as the ( in () is opening a 'context' and the ) in )) is closing it > again. This is not the ending syntax of '@@'. > I'm sorry, I don't understand what you mean here. Are you saying that there is some practical difference - for parsers, for human readers, or something else - between the grammars below? "@@", attribute-name, "(", expression-list, ")" vs "@(", attribute-name, "(", expression-list, "))" Regards, -- Rowan Tommins [IMSoP] --000000000000359cd605ac312c67--