BSD Ports

devel/bison 3.8.2p0 OpenBSD

GNU parser generator

System
OpenBSD
Repository
OpenBSD ports
Maintainer
The OpenBSD ports mailing-list <[email protected]>
Categories
devel

Description

"Bison" is a general-purpose parser generator that converts a grammar description for an LALR(1) context-free grammar into a C program to parse that grammar. Once you are proficient with Bison, you may use it to develop a wide range of language parsers, from those used in simple desk calculators to complex programming languages.

Bison is upward compatible with Yacc: all properly-written Yacc grammars ought to work with Bison with no change. Anyone familiar with Yacc should be able to use Bison with little trouble. You need to be fluent in C programming in order to use Bison.

In the other systems

SystemPortVersion
OpenBSDdevel/bison3.8.2p0
FreeBSDdevel/bison3.8.2_2,1
NetBSDdevel/bison3.8.2nb1
DragonFlydevel/bison3.8.2_2,1
MidnightBSDdevel/bison3.8.2_1,1
HardenedBSDdevel/bison3.8.2_2,1
GhostBSDdevel/bison3.8.2_2,1
OPNsensedevel/bison3.8.2_2,1

Install

Binary package:

pkg_add bison

From the ports tree:

cd /usr/ports/devel/bison && make install

Dependencies

Build dependencies 5
Run dependencies 1
Required by 152

The first 100 are listed.