Re: [PHP-DEV] Remove generated lexers from git?

[email protected] (Nikita Popov)
Newsgroups php.internals
Message-ID <CAF+90c-30vUGk+7TWSxrPE4JZwf+ex9_z6VnOx-Rq9eC+RhPNg@mail.gmail.com>
On Tue, Aug 26, 2014 at 10:01 PM, Andrea Faulds <[email protected]> wrote:

>
> On 26 Aug 2014, at 20:55, Nikita Popov <[email protected]> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.