Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:88070 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 41576 invoked from network); 7 Sep 2015 01:00:04 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Sep 2015 01:00:04 -0000 Authentication-Results: pb1.pair.com header.from=php@golemon.com; sender-id=softfail Authentication-Results: pb1.pair.com smtp.mail=php@golemon.com; spf=softfail; sender-id=softfail Received-SPF: softfail (pb1.pair.com: domain golemon.com does not designate 209.85.220.43 as permitted sender) X-PHP-List-Original-Sender: php@golemon.com X-Host-Fingerprint: 209.85.220.43 mail-pa0-f43.google.com Received: from [209.85.220.43] ([209.85.220.43:33197] helo=mail-pa0-f43.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 2A/10-40368-291ECE55 for ; Sun, 06 Sep 2015 21:00:04 -0400 Received: by pacex6 with SMTP id ex6so79091955pac.0 for ; Sun, 06 Sep 2015 17:59:59 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:content-type:mime-version:subject:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to; bh=MGAn27OGfR8dIjuvUdEkgjDPsNe3t69+wH+y3uPRmMA=; b=eX8XMA9MAAvo2qcTtNnZiWByP4VqFIWktfqDOr00OiZH2Yvgq+9yRBELbQHjlbsMpt 6qh7UpT2wdUdAhse4HFXCWxxdPQoPMvOCes1E8Vrcoa+/YeRN6L0z/EEKS37ALzVBhAm +pf2U7RPuvDiXhUGMHK0t73vdJYGO+LrGjRYGbuZwfisiBT2IyXWJ6ENDkpG7nod7sJP 4M0ZRBVWGEhl8RsHvU9aPTPsMWWvunh/DD9M2vEFIAuLs3PYXSALXVatm56nAiZVEcAN GKLVMzlRwQJI4XgWRRYQewbBLGMy+zz2yO39oDuFOTt66qFw1KfMnsW4GDKowA9y9VZF 9JLw== X-Gm-Message-State: ALoCoQkOPBl3Ni63Hiu0vesh954J8Iy2ena/bQs/uXXDezMhUVSwObZXpRNyjD+5eBxODoxXkvZS X-Received: by 10.68.162.99 with SMTP id xz3mr39772699pbb.134.1441587599847; Sun, 06 Sep 2015 17:59:59 -0700 (PDT) Received: from [10.0.1.137] (c-73-189-247-124.hsd1.ca.comcast.net. [73.189.247.124]) by smtp.gmail.com with ESMTPSA id ye2sm9835157pab.31.2015.09.06.17.59.58 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 06 Sep 2015 17:59:59 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (1.0) X-Mailer: iPhone Mail (12H143) In-Reply-To: Date: Sun, 6 Sep 2015 17:59:57 -0700 Cc: =?utf-8?Q?Bj=C3=B6rn_Larsson?= , PHP Internals Content-Transfer-Encoding: quoted-printable Message-ID: <28335322-EF2C-487D-99A8-2A624CAEAD99@golemon.com> References: <55EAB740.6080004@telia.com> <55EC1B77.6080708@telia.com> To: Bob Weinand Subject: Re: [PHP-DEV] [RFC] [Discussion] Short Closures From: php@golemon.com (Sara Golemon) On Sep 6, 2015, at 07:01, Bob Weinand wrote: > Also, Hack is using a completely different parser, doesn't look like we co= uld borrow anything there. >=20 True, Hack's parser is ocaml based and unrecognizable to the majority of thi= s list. But HHVM's parser (which implements the runtime side of Hack), is a= flex/bison parser, not just similar to, but actually directly descended fro= m PHP 5.2's parser. Sure things have diverged since then, but the overall r= ule structure is nearly identical in spirit. Borrowing concepts should be t= rivial. -Sara=