Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:105196 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 16215 invoked from network); 10 Apr 2019 12:15:51 -0000 Received: from unknown (HELO mail-it1-f172.google.com) (209.85.166.172) by pb1.pair.com with SMTP; 10 Apr 2019 12:15:51 -0000 Received: by mail-it1-f172.google.com with SMTP id 139so2179479ita.4 for ; Wed, 10 Apr 2019 02:12:57 -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 :cc; bh=AaQrYJhnJQzfCK+V65wnY8ClaEGbt3Ss595VcQUEta4=; b=ViHCHIlxXjbCXEiie3O8q20Tqsv6vw2MJJC/1xpWSKTtlGHabLm3hQ6FQqPSO6tHvo uEmMEFN/+mLYYAhM+CQCeXqEZN24Y9iQ4INb9ybNSjEQl6xWgK/iiLSWvEpmo7mj8vAr eKa9WKWUA10TxeR1/7t+OPRPgOmK/92Cm6L16Yh1Sou+WuWX7pVTsKJeyckNBxFlfOUe owbSaZhH1VD7HVeLod8ksNs1MWbBX2s/OBJH1wnlJAhzXItouOFFqTegkPo3h1HpHXiD 7xpEH75SCmkVzFJalT+LUnSE4/5OW0CY3s5yl/eQGWquZWOAbTMx37x2oJBAQdXAoEjg ZtnA== 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:cc; bh=AaQrYJhnJQzfCK+V65wnY8ClaEGbt3Ss595VcQUEta4=; b=ALiP7sYh31sQVb6JyEQTrzAJe3AhVLmt+hCUZJaD0HRT8O+dcboEGTe/SCYU69vpvL b1XzR6C04a56BcAwljc8MnzLVs7apQsCzJlz78/mgmAUNJrIT2OSl/QH9x4SaLzK21/m 0IH8qkLAgMIbBq96h9DpdfDmRnz/jFimT2EXwT5j0NHobnXsefB0tjKha8GcVQ3THn4a ao5JxKEdHyH11/yEi4m2qeNaYQXgrp5VQqoIu2lw3jyeQ+c18ZciBa7Qh+0argow9CMv y68//N0+swso4CmHmWo/oh+tCx+t7NiiIS+9xzOHXj91QIhorvT5Fgi5UVQBFCh6TlZI qapw== X-Gm-Message-State: APjAAAUANYn3fOTEE6dX5sUTaSRg0mjYb6NejnA4ZiOL9YIAO100riO1 k/eQJjzloVFgHgxP7jjBYZTR4RAGKVG2+7yRnPI= X-Google-Smtp-Source: APXvYqwVK417o+BOWzdaM99p65n8+vOQoBEVhoKi4suxWXCbWCYe0rqFrgmkqhLzJuBLlSVJqjZ1HHCa/14RPTu+dMU= X-Received: by 2002:a24:35c9:: with SMTP id k192mr2413858ita.156.1554887576573; Wed, 10 Apr 2019 02:12:56 -0700 (PDT) MIME-Version: 1.0 References: <582b57dc-42a0-582b-9471-2ede97ba584a@telia.com> In-Reply-To: Date: Wed, 10 Apr 2019 10:12:45 +0100 Message-ID: To: Robert Hickman Cc: PHP internals Content-Type: multipart/alternative; boundary="000000000000aadd470586297931" Subject: Re: [PHP-DEV] Re: [RFC] Arrow functions / short closures From: rowan.collins@gmail.com (Rowan Collins) --000000000000aadd470586297931 Content-Type: text/plain; charset="UTF-8" On Wed, 10 Apr 2019 at 09:59, Robert Hickman wrote: > > I'd just like to amplify this mention of 3rd party tooling: if we go with > > something which requires complex lexer/parser rules, then every editor, > > IDE, and static analysis tool will need to also work with that syntax. > > > > Is this actually a problem? Don't these tools make use of existing > parsers like 'php parser', thus the cost is lower than initially > apparent? > I don't think you can generalise about "these tools" at all - for instance, PHPStorm is written in Java, and VSCode is written in JS; I doubt they share any parser components with each other, or with anything written in C or PHP itself. We're not just talking about existing tools, either, but every tool created until the language dies. Regards, -- Rowan Collins [IMSoP] --000000000000aadd470586297931--