Re: [RFC] [Discussion] Short Closures
| From: | Sara Golemon | Date: | Mon, 07 Sep 2015 00:59:57 +0000 |
| Subject: | Re: [RFC] [Discussion] Short Closures | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-88070@lists.php.net to get a copy of this message | ||
On Sep 6, 2015, at 07:01, Bob Weinand <bobwei9@hotmail.com> wrote:
> Also, Hack is using a completely different parser, doesn't look like we could borrow
> anything there.
>
True, Hack's parser is ocaml based and unrecognizable to the majority of this 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 from PHP 5.2's parser. Sure things have diverged
since then, but the overall rule structure is nearly identical in spirit. Borrowing concepts should
be trivial.
-Sara