ANTLR v3 is the most powerful, easy-to-use parser generator built to date, and represents the culmination of more than 15 years of research by Terence Parr. This book is the essential reference guide to using this completely rebuilt version of ANTLR, with its amazing new LL(*) parsing technology, tree construction facilities, StringTemplate code generation template engine, and sophisticated ANTLRWorks GUI development environment. Learn to use ANTLR directly from the author! ANTLR is a parser generator-a program that generates code to translate a specified input language into a nice, tidy data structure. You might think that parser generators are only used to build compilers. But in fact, programmers usually use parser generators to build translators and interpreters for domain-specific languages such as proprietary data formats, common network protocols, text processing languages, and domain-specific programming languages. Domain-specific languages are important to software development because they represent a more natural, high fidelity, robust, and maintainable means of encoding a problem than simply writing software in a general-purpose language. For example, NASA uses domain-specific command languages for space missions to improve reliability, reduce risk, reduce cost, and increase the speed of development. Even the first Apollo guidance control computer from the 1960s used a domain-specific language that supported vector computations. This book is the definitive guide to using the completely rebuilt ANTLR v3 and describes all features in detail, including the amazing new LL(*) parsing technology, tree construction facilities, StringTemplate code generation template engine, and sophisticated ANTLRWorks GUI development environment. You'll learn all about ANTLR grammar syntax, resolving grammar ambiguities, parser fault tolerance and error reporting, embedding actions to interpret or translate languages, building intermediate-form trees, extracting information from trees, generating source code, and how to use the ANTLR Java API.
發表於2025-02-07
The Definitive Antlr Reference 2025 pdf epub mobi 電子書 下載
當初在定義C99全語法時很衝動的看瞭一遍,覺得作者很牛,這東西真是好。不過隔瞭近半年,看瞭作者新齣的另外一本書,Language Implementation Pattern,發現之前很多沒看懂的地方,新書中都有詳細的描述,將ANTLR內部的設計思想也講得很清楚瞭。相比而言,這本書隻能算是ANTLR...
評分如果你又想學習編譯器,但是又不想啃大部頭的基本經典書的話,Terence的書正好適閤。理論和實踐的完美集閤。看完理解瞭,就 能自己做一個簡單的編譯器玩兒。 如果要深入理解編譯理論,還是需要基本大部頭來作為補充。
評分antlr作者寫的, 當然不錯瞭。 介紹得可以說深入淺齣, 不過要想看進去,還真得認真些, 有些基本的編譯原理的知識纔成。 要不然,看起來還是有些吃力。 現在俺就在想, 在大學的時候,我究竟學會瞭什麼。 怎麼看一本書,都要去重頭看一下基礎的知識。 基本上,書的內容就是: ...
評分當初在定義C99全語法時很衝動的看瞭一遍,覺得作者很牛,這東西真是好。不過隔瞭近半年,看瞭作者新齣的另外一本書,Language Implementation Pattern,發現之前很多沒看懂的地方,新書中都有詳細的描述,將ANTLR內部的設計思想也講得很清楚瞭。相比而言,這本書隻能算是ANTLR...
評分antlr作者寫的, 當然不錯瞭。 介紹得可以說深入淺齣, 不過要想看進去,還真得認真些, 有些基本的編譯原理的知識纔成。 要不然,看起來還是有些吃力。 現在俺就在想, 在大學的時候,我究竟學會瞭什麼。 怎麼看一本書,都要去重頭看一下基礎的知識。 基本上,書的內容就是: ...
圖書標籤: 編譯原理 antlr compiler 編譯器 計算機 編譯 programming 計算機科學
啊啊啊!!!苦逼的論文苦逼的新年苦逼的寒假啊!!!用力啃吧,Start,2015年2月15日。唉,難以接受的結果。Done,2015年6月8日.
評分除瞭reference的部分,基本上等價於鄭大大寫的博客文章…那,掏錢買書的價值是啥呢?
評分完全是因為這作者是我研究生老師,教過我們這門課,課上我們寫瞭一個smalltalk,哈哈哈,哥們兒也自己寫過一門語言瞭,裝逼利器
評分ANTLR工具參考書
評分啊啊啊!!!苦逼的論文苦逼的新年苦逼的寒假啊!!!用力啃吧,Start,2015年2月15日。唉,難以接受的結果。Done,2015年6月8日.
The Definitive Antlr Reference 2025 pdf epub mobi 電子書 下載