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.
0 有用 听雨人 2012-10-29 17:34:56
看了三分之二,只能说这本书是ANTLR的Reference,搞不明白一个开源的软件竟然来个Commercial的文档,不过讲的挺仔细。
0 有用 masque 2020-05-28 09:43:29
为了写卡拉搜索的parser而读 非常好的书。巧的是作序人是以前Twitter搜索组的头儿,也是我的前前老板
0 有用 咪咪嘎嘎 2016-04-15 16:49:19
完全是因为这作者是我研究生老师,教过我们这门课,课上我们写了一个smalltalk,哈哈哈,哥们儿也自己写过一门语言了,装逼利器
0 有用 liyistc 2013-05-16 10:39:55
another tool for language recognition (ANTLR) @Walle_Y_
1 有用 Vivie 2015-06-22 13:13:23
啊啊啊!!!苦逼的论文苦逼的新年苦逼的寒假啊!!!用力啃吧,Start,2015年2月15日。唉,难以接受的结果。Done,2015年6月8日.