# BISON files are gone?

- Thread: https://externals.io/message/73868
- Original archive: https://news-web.php.net/php.internals/73868
- Started by Kevin Ingwersen on 2014-05-03T02:44:35+00:00
- Messages: 3
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #73868 — Kevin Ingwersen — 2014-05-03T02:44:35+00:00

URL: https://externals.io/message/73868#73868

Hey list!

I just took the php source (5.5.11-git) and wanted to read thru it for a variety of reasons, and noticed that Zend/Makefile.am references two *.y files, that are obviously not present. In fact, there does not see to be any bison file inside the whole of PHP’s source - is that correct, or am I missing a generation step?

$ find php -name "*.y“
-empty-

Kind regards, Ingwie.

---

## #73955 — Derick Rethans — 2014-05-06T08:50:47+00:00

URL: https://externals.io/message/73868#73955 · In reply to: #73868

> Hey list!
> 
> I just took the php source (5.5.11-git) and wanted to read thru it for 
> a variety of reasons, and noticed that Zend/Makefile.am references two 
> *.y files, that are obviously not present. In fact, there does not see 
> to be any bison file inside the whole of PHP’s source - is that 
> correct, or am I missing a generation step?

Neither automake (the .am extension in Makefile.am) or bison are used. 
The automake depency was removed (I think) close to a decade ago, and 
bison's .y got replaced with re2c files (.re). I think somebody forgot 
to remove that Zend/Makefile.am file.

cheers,
Derick

-- 
http://derickrethans.nl | http://xdebug.org
Like Xdebug? Consider a donation: http://xdebug.org/donate.php
twitter: @derickr and @xdebug
Posted with an email client that doesn't mangle email: alpine

---

## #73996 — Sebastian Bergmann — 2014-05-07T06:09:19+00:00

URL: https://externals.io/message/73868#73996 · In reply to: #73955

Am 06.05.2014 10:50, schrieb Derick Rethans:
> Neither automake (the .am extension in Makefile.am) or bison are used. 
> The automake depency was removed (I think) close to a decade ago, and 
> bison's .y got replaced with re2c files (.re). I think somebody forgot 
> to remove that Zend/Makefile.am file.

 Correct me if I'm wrong, but bison is a parser generator and re2c
 is a scanner generator. We replaced flex with re2c but never got
 around to replace bison with lemon AFAIK.
