A.6. Bison

For installation instructions see Section 6.24.

A.6.1. Official Download Location

Bison (1.875): 
ftp://ftp.gnu.org/gnu/bison/

Bison Attribute Patch:
http://www.linuxfromscratch.org/patches/lfs/5.0/bison-1.875-attribute.patch

A.6.2. Contents of Bison

Bison is a parser generator, a replacement for yacc. Bison generates a program that analyzes the structure of a text file.

Installed programs: bison and yacc

Installed library: liby.a

A.6.3.

A.6.4. Short descriptions

bison generates, from a series of rules, a program for analyzing the structure of text files. Bison is a replacement for yacc (Yet Another Compiler Compiler).

yacc is a wrapper for bison, meant for programs that still call yacc instead of bison. It calls bison with the -y option.

liby.a is the Yacc library containing implementations of Yacc-compatible yyerror and main functions. This library is normally not very useful, but POSIX requires it.

A.6.5.

A.6.6. Bison Installation Dependencies

Bison depends on: Bash, Binutils, Coreutils, Diffutils, GCC, Gettext, Glibc, Grep, M4, Make, Sed.