6.30. Bison-2.7

The Bison package contains a parser generator.

Приблизительное время сборки: 1.3 SBU
Требует свободного места на диске: 34 MB

6.30.1. Установка Bison

Подготовим Bison к компиляции:

./configure --prefix=/usr

The configure system causes Bison to be built without support for internationalization of error messages if a bison program is not already in $PATH. The following addition will correct this:

echo '#define YYENABLE_NLS 1' >> lib/config.h

Cкомпилируем пакет:


To test the results (about 0.5 SBU), issue:

make check

Установим пакет:

make install

6.30.2. Содержимое Bison

Установленные программы: bison and yacc
Установленная библиотека: liby.a
Установленный каталог: /usr/share/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)


A wrapper for bison, meant for programs that still call yacc instead of bison; it calls bison with the -y option


The Yacc library containing implementations of Yacc-compatible yyerror and main functions; this library is normally not very useful, but POSIX requires it