GNU bison
1.1、GNU bison简介
是什么 ?:yacc-compatible parser generator that converts an annotated context-free grammar into a deterministic LR or generalized LR (GLR) parser employing LALR(1) parser tables.
开发语言:C
开发组织:GNU
官方主页:http://www.gnu.org/software/bison
1.2、通过包管理器安装GNU bison
操作系统包管理器安装命令
Windowsscoppscopp install winflexbison
WindowsChocolateychoco install -y winflexbison
macOSHomeBrewbrew install bison
GNU/LinuxHomeBrewbrew install bison
aptsudo apt-get install -y bison
CentOSyumsudo yum install -y bison
dnfsudo dnf install -y bison
openSUSEzyppersudo zypper install -y bison
Alpine Linuxapksudo apk add bison

Arch Linux

ArcoLinux

Manjaro Linux

pacmansudo pacman -Syyu --noconfirm
sudo pacman -S    --noconfirm bison
Gentoo LinuxPortagesudo emerge bison
1.3、通过编译源码安装GNU bison
1.4、GNU bison中包含的命令
1.5、GNU bison中包含的头文件

1.6、GNU bison中包含的头库文件
  • liby.a