Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:76307 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 39153 invoked from network); 1 Aug 2014 20:57:51 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Aug 2014 20:57:51 -0000 Authentication-Results: pb1.pair.com smtp.mail=rich@richgray.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=rich@richgray.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain richgray.com from 209.85.212.176 cause and error) X-PHP-List-Original-Sender: rich@richgray.com X-Host-Fingerprint: 209.85.212.176 mail-wi0-f176.google.com Received: from [209.85.212.176] ([209.85.212.176:45827] helo=mail-wi0-f176.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E3/D2-23250-C4FFBD35 for ; Fri, 01 Aug 2014 16:57:49 -0400 Received: by mail-wi0-f176.google.com with SMTP id bs8so2024680wib.3 for ; Fri, 01 Aug 2014 13:58:07 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:reply-to:user-agent :mime-version:to:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=ZSOAdyFDRZpzjb0kCuoAbuECDrwp3Pz7FFMQ7Q+x8Ps=; b=fS41iI8IvmP0roND3JlK4FcT5lk7dOaEaTcM07Jnky3o9oiMeU8+YVCDlIbhlb9gux 8S1GzCoKPCRvuPu2/NI5wwNDTz3RoVuwZpiytHfhHJyJHxy5Scg78HB5tJFYggx6qJmm VHfCLSSL/6K+YWlHnsHn6G4jL+Cagl5ZrwiM8yjq+638aCF1d8vyhB6kZ+Mtrexeya0m Qma1usU8mv5CubhSFhXm4YL7P4oaNteFSxc6sDa5Qxq5xGrAMrGjoSemnHOzD+tTe5k4 8cScYRuA6LCcYjsJQRPnaPkQmU1LXrlNnP5TkFX6giE0Ax+78t+zqZMZFethXU7kSFuZ NN9A== X-Gm-Message-State: ALoCoQnbDX4GGWqaHkTTjZ2srbT0Xg9lixd2JQTHz3b6HJaFQGBWH6bL/lmKrVLnDJAugc5fGg+J X-Received: by 10.180.187.197 with SMTP id fu5mr8662923wic.64.1406911437100; Fri, 01 Aug 2014 09:43:57 -0700 (PDT) Received: from LeMans.local (76.129.10.93.rev.sfr.net. [93.10.129.76]) by mx.google.com with ESMTPSA id xn12sm10234674wib.13.2014.08.01.09.43.56 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 01 Aug 2014 09:43:56 -0700 (PDT) Message-ID: <53DBC3CA.1020906@richgray.com> Date: Fri, 01 Aug 2014 18:43:54 +0200 Reply-To: rich@richgray.com User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: Nikita Popov , PHP internals References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [RFC] Introduce Abstract Syntax Tree From: rich@richgray.com (rich gray) On 31/07/2014 20:11, Nikita Popov wrote: > Hi internals! > > I've created a draft RFC and implementation for the introduction of an > Abstract Syntax Tree (AST) as an intermediate structure in our compilation > process: > > https://wiki.php.net/rfc/abstract_syntax_tree > > The RFC outlines why an AST is beneficial, how it impacts performance and > memory usage of the compile process and what changes to syntax or behavior > it introduces. > > Furthermore the RFC contains an outline of how the current implementation > works and what APIs it provides. This section is just an overview and I > hope to extend it in the future. > > Note: I'm on vacation as of tomorrow and wanted to put this up to > discussion beforehand. I won't be able to implement any feedback while I'm > away, but can of course answer questions :) > > Thanks, > Nikita > I know I am not supposed to comment as just a PHP dev who uses the language day to day for my living -- above is another example of why Nikita is a person who just delivers - for me he completely defused the 64bit vs php-ng stuff a few weeks back with a technical analysis i.e. no political crap - so maybe we need an rfc for a benign dictator for PHP (as Rasmus is too busy I guess) and the community seems pretty fractioned with endless arguments .. anyway I think you'd know who'd get my vote :) -- we all know php-ng and 64bit are essential so get them implemented and the documentation can follow... :) Sorry for any unwelcome noise from user land Rich