If you need to parse or process text data in Linux or Unix, this classic book explains how to use flex and bison to solve your problems quickly -- whether you're interpreting code, configuration files, or any other structured format.
flex & bison is the long-awaited sequel to the classic O'Reilly book, lex & yacc. In the nearly two decades since that book was published, the flex and bison utilities have proven to be more reliable and more powerful than the original Unix tools. This book covers the same core functionality vital to Linux and Unix program development, along with several important new topics.
This thoroughly updated edition will help you:
Address syntax crunching that regular expressions tools can't handle
Build compilers and interpreters, and handle a wide range of text processing functions
Learn key programming techniques, including syntax trees and symbol tables
Implement a full SQL grammar, with complete sample code
Use new features such as pure (reentrant) lexers and parsers, powerful GLR parsers, and interfaces to C++
This book includes revised tutorial sections for novice users and reference sections for advanced users, with chapters that explain each utility's basic usage and simple, stand-alone applications. Dive into flex & bison and discover the wide range of uses these flexible tools provide.
0 有用 dalin 2010-01-04 20:30:15
flex和bison的绝佳入门!需要使用这两个工具的同学不要错过哦。看这本书貌似并不需要编译基础。
1 有用 #刘项.FNLS# 2017-02-11 20:41:05
不错!
0 有用 大头 2015-12-15 13:25:47
大三时候和同学编译课用这个写。,现在工作用到了,想起以前的美好时光啊~
0 有用 orczhou 2012-10-12 10:48:00
老外写的书看得流畅啊
0 有用 面团团 2018-02-23 21:38:33
算是教辅书吧,不错的入门书,例子讲得挺详细的。
0 有用 zzyong 2022-02-03 11:00:40
看完计算器的例子,基本就可以开始使用了。后面可以当参考书使用,尤其是有过一点使用经验后,带着问题看,会更有效果。
0 有用 fightlion 2021-01-29 10:52:56
还是不太好理解,里面涉及了不少比较高级的flex和bison用法,对于flex&bison不是很熟悉的建议直接去读gun bison官方文档,比这本书好理解很多
0 有用 heisen 2020-01-12 11:13:27
知道这两个名字就好了。。flex & bison是比较懒的lexical analysis和parser的解决方案, 语法层次上的东西讲道理并不多,有点ocaml + c的感觉 hhh, 建议多读读github repo动手,比看书效率高多了
0 有用 面团团 2018-02-23 21:38:33
算是教辅书吧,不错的入门书,例子讲得挺详细的。
1 有用 #刘项.FNLS# 2017-02-11 20:41:05
不错!