Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:76305 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 31920 invoked from network); 1 Aug 2014 20:34:57 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Aug 2014 20:34:57 -0000 Authentication-Results: pb1.pair.com header.from=sebastian@php.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=sebastian@php.net; spf=unknown; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 93.190.64.238 as permitted sender) X-PHP-List-Original-Sender: sebastian@php.net X-Host-Fingerprint: 93.190.64.238 mail-2.de-punkt.de Received: from [93.190.64.238] ([93.190.64.238:36711] helo=mail-2.de-punkt.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 65/81-23250-FE9FBD35 for ; Fri, 01 Aug 2014 16:34:56 -0400 Received: from localhost (localhost [127.0.0.1]) by mail-2.de-punkt.de (Postfix) with ESMTP id D39CE3A340 for ; Fri, 1 Aug 2014 08:25:22 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mail-2.de-punkt.de Received: from mail-2.de-punkt.de ([127.0.0.1]) by localhost (mail-2.de-punkt.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xRGoSvZ7iRey for ; Fri, 1 Aug 2014 08:25:22 +0200 (CEST) Received: from [192.168.178.24] (p54BBA590.dip0.t-ipconnect.de [84.187.165.144]) (Authenticated sender: php@sebastian-bergmann.de) by mail-2.de-punkt.de (Postfix) with ESMTPSA id 64A073A33D for ; Fri, 1 Aug 2014 08:25:22 +0200 (CEST) Message-ID: <53DB32D8.8070503@php.net> Date: Fri, 01 Aug 2014 08:25:28 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.0 MIME-Version: 1.0 To: internals@lists.php.net References: In-Reply-To: X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [RFC] Introduce Abstract Syntax Tree From: sebastian@php.net (Sebastian Bergmann) Am 31.07.2014 um 20:11 schrieb Nikita Popov: > https://wiki.php.net/rfc/abstract_syntax_tree Is it Christmas already? Seriously: +1 from me. Especially because of "The generated AST can be exposed to userland via an extension, for use by static analysers. This should be relatively easy to implement and we might even want to provide this as a bundled extension." Your PHP-Parser is great, Nikita, but having the same functionality built into PHP means that it will be authorative (as it is based on the actual AST that the compiler uses) and faster.