Re: Remove generated lexers from git?
| From: | Andrea Faulds | Date: | Tue, 26 Aug 2014 20:01:03 +0000 |
| Subject: | Re: Remove generated lexers from git? | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-76885@lists.php.net to get a copy of this message | ||
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.
--
Andrea Faulds
http://ajf.me/