bison

GNU parser generator. More information: <https://www.gnu.org/software/bison/>.

Install

All systems
curl cmd.cat/bison.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 bison powered by Commando

GNU parser generator. More information: <https://www.gnu.org/software/bison/>.

  • Compile a bison definition file:
    bison path/to/file.y
  • Compile in debug mode, which causes the resulting parser to write additional information to `stdout`:
    bison --debug path/to/file.y
  • Specify the output filename:
    bison --output path/to/output.c path/to/file.y
  • Be verbose when compiling:
    bison --verbose

© tl;dr; authors and contributors