Re: Remove generated lexers from git?

From: Date: Tue, 26 Aug 2014 20:12:33 +0000
Subject: Re: Remove generated lexers from git?
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-76888@lists.php.net to get a copy of this message
On Tue, Aug 26, 2014 at 10:01 PM, Andrea Faulds <ajf@ajf.me> wrote: > > On 26 Aug 2014, at 20:55, Nikita Popov <nikita.ppv@gmail.com> 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’t need it, this 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

« previous php.internals (#76888) next »