flex & bison 童书●育儿
John Levine
O'Reilly Media(2009)
228元 / 292页
9780596155971
标签: 编译原理 compiler flex bison 编译器 programming
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.
O'Reilly Media(2009)
228元 / 292页
9780596155971
标签: 编译原理 compiler flex bison 编译器 programming
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.