Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:76885 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 32712 invoked from network); 26 Aug 2014 20:01:15 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Aug 2014 20:01:15 -0000 Authentication-Results: pb1.pair.com header.from=ajf@ajf.me; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=ajf@ajf.me; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain ajf.me designates 192.64.116.216 as permitted sender) X-PHP-List-Original-Sender: ajf@ajf.me X-Host-Fingerprint: 192.64.116.216 imap10-3.ox.privateemail.com Received: from [192.64.116.216] ([192.64.116.216:59026] helo=imap10-3.ox.privateemail.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 20/D2-11622-787ECF35 for ; Tue, 26 Aug 2014 16:01:13 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.privateemail.com (Postfix) with ESMTP id 891CD2400ED; Tue, 26 Aug 2014 16:01:08 -0400 (EDT) X-Virus-Scanned: Debian amavisd-new at imap10.ox.privateemail.com Received: from mail.privateemail.com ([127.0.0.1]) by localhost (imap10.ox.privateemail.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 4QXGcBFhoZCg; Tue, 26 Aug 2014 16:01:08 -0400 (EDT) Received: from [192.168.0.2] (05439dda.skybroadband.com [5.67.157.218]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.privateemail.com (Postfix) with ESMTPSA id EA4B42400DE; Tue, 26 Aug 2014 16:01:06 -0400 (EDT) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) In-Reply-To: Date: Tue, 26 Aug 2014 21:01:03 +0100 Cc: PHP internals Content-Transfer-Encoding: quoted-printable Message-ID: References: To: Nikita Popov X-Mailer: Apple Mail (2.1878.6) Subject: Re: [PHP-DEV] Remove generated lexers from git? From: ajf@ajf.me (Andrea Faulds) 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 = on > many platforms. In the thread on bison 3 compatibility [1] there was = some > 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 = would 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=92t need it, this = would only affect people using git. -- Andrea Faulds http://ajf.me/