bison.yacc

YACC-compatible parser generator

Install

All systems
curl cmd.cat/bison.yacc.sh
Debian Debian
apt-get install bison
Ubuntu
apt-get install bison
Alpine
apk add bison
Arch Arch Linux
pacman -S bison
image/svg+xml Kali Linux
apt-get install bison
CentOS
yum install bison
Fedora
dnf install bison
Windows (WSL2)
sudo apt-get update sudo apt-get install bison
OS X
brew install bison
Raspbian
apt-get install bison
Docker
docker run cmd.cat/bison.yacc bison.yacc powered by Commando

bison

YACC-compatible parser generator

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. Documentation of the program is in the bison-doc package.