圖書標籤: 編譯原理 compiler flex bison 編譯器 計算機科學 編程工具 programming
发表于2024-12-23
flex & bison pdf epub mobi txt 電子書 下載 2024
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.
John Levine, founder of Taughannock Networks, writes, speaks, and consults on e-mail, the Internet, and other computer topics. He has written over 20 technical books, and is the co-author of O'Reilly's lex & yacc, 2nd Edition and qmail. He's also deeply involved in Internet e-mail in general and spam issues in particular as co-chair of the Internet Research Task Force's Anti-Spam Research Group (http://asrg.sp.am ) and a board member of the Coalition Against Unsolicited Commercial E-mail (http://www.cauce.org.) He lives and works in the tiny village of Trumansburg NY (http://www.trumansburg.ny.us) where he reports that being the municipal sewer commissioner was a much cleaner job than dealing with spammers.
知道這兩個名字就好瞭。。flex & bison是比較懶的lexical analysis和parser的解決方案, 語法層次上的東西講道理並不多,有點ocaml + c的感覺 hhh, 建議多讀讀github repo動手,比看書效率高多瞭
評分讀完瞭前三章,有瞭一個大概的瞭解,尚可。編譯方麵的理論知識欠缺太多,其餘章節先擱下,以後補上瞭編譯理論知識再看
評分|大三,編譯原理
評分看完這本之後再去看編譯器構造(詞法+語法)之類的就很好理解瞭。
評分不錯!
This book explains how to use flex and bison to solve your problems quickly. Flex and Bison utilities have proven to be more reliable and more powerful than the original Unix tools. Flex & bison covers the same core functionality vital to Linux and Unix pro...
評分This book explains how to use flex and bison to solve your problems quickly. Flex and Bison utilities have proven to be more reliable and more powerful than the original Unix tools. Flex & bison covers the same core functionality vital to Linux and Unix pro...
評分This book explains how to use flex and bison to solve your problems quickly. Flex and Bison utilities have proven to be more reliable and more powerful than the original Unix tools. Flex & bison covers the same core functionality vital to Linux and Unix pro...
評分This book explains how to use flex and bison to solve your problems quickly. Flex and Bison utilities have proven to be more reliable and more powerful than the original Unix tools. Flex & bison covers the same core functionality vital to Linux and Unix pro...
評分本书的 flex reference 和 bison reference 以及后续章节可仔细阅读,前面章节的例子有点粗浅,过于简单。比如,关于 SQL 的解析,可以参看一下 postgreSQL 的源码,其 SQL 解析用的就是 flex/bison。
flex & bison pdf epub mobi txt 電子書 下載 2024