Flex-2.5.38
Grep-2.16
Bison 程序包包含分析器生成器。
准备编译 Bison:
./configure --prefix=/usr
编译软件包:
make
要测试结果 (大约 0.5 SBU),执行:
make check
安装软件包:
make install
bison
以一系列规则创建用于分析文本结构的程序;是 Yacc (Yet Another Compiler Compiler) 的替代
yacc
bison 的封装,针对仍然调用 yacc 而不是 bison 的程序;它调用 bison 并传递 -y 选项
-y
liby.a
Yacc 库包含与 Yacc 兼容的 yyerror 和 main 函数的实现;此库通常不会很常用,但 POSIX 要求其存在
yyerror
main