Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:76888 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 37287 invoked from network); 26 Aug 2014 20:12:39 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Aug 2014 20:12:39 -0000 Authentication-Results: pb1.pair.com header.from=nikita.ppv@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=nikita.ppv@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.215.48 as permitted sender) X-PHP-List-Original-Sender: nikita.ppv@gmail.com X-Host-Fingerprint: 209.85.215.48 mail-la0-f48.google.com Received: from [209.85.215.48] ([209.85.215.48:38548] helo=mail-la0-f48.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 35/D3-11622-43AECF35 for ; Tue, 26 Aug 2014 16:12:37 -0400 Received: by mail-la0-f48.google.com with SMTP id gl10so15214379lab.7 for ; Tue, 26 Aug 2014 13:12:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=VuXwZmqoteetSMZmK4gXoNNl9V3eCQ8Y5Z1tfxDpsmU=; b=N6mDHuzP9NWJznrhmbfpYHSLundNIRnvMhNGfXUUok3c4lWF2BRDd/BUeiK+IMNtCY KQrr0JW0MiglVqm4ezXDtufJLaTyLTR5IBZYy+3VOIDv1aYatO+q5b31fWzXxz69/8ir p2eqVr5FoNWNhQLwHvCJxtMutwHvsVej4V+S2vzXA5wYO4lCQJQQDvgbvhWsS9rJDgwm V6SJODFC5fOtMbb7W0EHbdhs2Sgg/emvlnUNn0hxoARngVhSVMBwxopqMKlC7MQXe/kB 3Y/2rPl2ZyAgrurmQQ8DIN8HlxX6I/G0eqpmYmoqGBlgM+5xgZ6wm+bc3BGKI/tMKiWh GyXQ== MIME-Version: 1.0 X-Received: by 10.112.1.136 with SMTP id 8mr28737251lbm.55.1409083953081; Tue, 26 Aug 2014 13:12:33 -0700 (PDT) Received: by 10.25.154.209 with HTTP; Tue, 26 Aug 2014 13:12:33 -0700 (PDT) In-Reply-To: References: Date: Tue, 26 Aug 2014 22:12:33 +0200 Message-ID: To: Andrea Faulds Cc: PHP internals Content-Type: multipart/alternative; boundary=14dae94738277b740805018dec6d Subject: Re: [PHP-DEV] Remove generated lexers from git? From: nikita.ppv@gmail.com (Nikita Popov) --14dae94738277b740805018dec6d Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Tue, Aug 26, 2014 at 10:01 PM, Andrea Faulds wrote: > > On 26 Aug 2014, at 20:55, Nikita Popov wrote: > > > Currently our git repo contains files like zend_language_scanner.c, > > zend_ini_scanner.c, etc which are files generated by re2c. Historically > > these files have been included because re2c was not readily available o= n > > many platforms. In the thread on bison 3 compatibility [1] there was so= me > > discussion as to whether this limitation still applies. > > On a similar theme, could we also get rid of the generated Zend VM, and > wire up zend_vm_gen.php to make like we wire up bison and re2c? That woul= d > make PHP a dependency to build PHP, but it would hardly be the first > language which is reliant on itself to be built. Are there any > distributions out there in which PHP is not available? Bear in mind that > for non-developers, we would still include a generated VM in the source > packages so most people wishing to compile PHP don=E2=80=99t need it, thi= s would > only affect people using git. > -1 on removing zend_vm_execute.h. Having to install php before I can build php would be very inconvenient. Nikita --14dae94738277b740805018dec6d--