> On 15 Dec 2018, at 11:05, Uxio Prego <uxio.pr...@gmail.com> wrote:
> 
> Does anybody know when Bison 3 is going to be added to
> macOS?
> 
> Fortunately other projects such as Homebrew allow a
> straightforward selection of a cutting edge alternative Bison
> under `/usr/local/`, however isn't it a bit sad to add Homebrew
> as a dependency to some other software if it would be added
> **only** for de facto upgrading the ancient Bison 2.3 ~2006 to
> the contemporary Bison 3?

Bison installs in /usr/local/ direct from the sources in [1], and works fine 
will their inhouse version of clang. Bison also needs m4 which can be installed 
the same from [2]. Just compile with ./configure && make, and 'make pdf' if you 
want the PDF manual, then sud only on the install: 'sudo make install' and 
'sudo make install-pdf'.

Also, MacPorts [3] packages tend to be more up-to-date. It is installed in 
/opt/, so /usr/local doesn't get cluttered. So it is possible to choose what 
one wants, say GCC from MacPorts, and the original Clang from their site in 
different builds, especially easy if you use Automake, which admits out of 
source tree compilation.

1. https://ftp.gnu.org/gnu/bison/
2. https://ftp.gnu.org/gnu/m4/
3. https://www.macports.org



_______________________________________________
help-bison@gnu.org https://lists.gnu.org/mailman/listinfo/help-bison

Reply via email to