M4-1.4.3
Less-382
Bison 软件包包含一个解析器生成器。
准备编译 Bison
./configure --prefix=/usr
编译软件包
make
要测试结果,执行: make check。
安装软件包
make install
根据一系列规则,生成一个用于分析文本文件结构的程序;Bison 是 Yacc (Yet Another Compiler Compiler) 的替代品
bison 的包装器,旨在用于仍然调用 yacc 而不是 bison 的程序;它使用 -y 选项调用 bison
Yacc 库包含 Yacc 兼容的 yyerror 和 main 函数的实现;这个库通常不是很有用,但 POSIX 要求它