The Definitive Antlr Reference 在线电子书 图书标签: 编译原理 antlr compiler 编译器 计算机 编译 programming 计算机科学
发表于2024-12-26
The Definitive Antlr Reference 在线电子书 pdf 下载 txt下载 epub 下载 mobi 下载 2024
例子很好很不错,跳着读也能读出快感来。作为《编程语言实现模式》的前传来读。
评分例子很好很不错,跳着读也能读出快感来。作为《编程语言实现模式》的前传来读。
评分工程化背景的compiler,看看到底compiler应该如何工程化,另一个比较好用的工具是javacc + jjtree,忽然间想写一点代码生成的东西,重新翻出来,搞搞
评分another tool for language recognition (ANTLR) @Walle_Y_
评分除了reference的部分,基本上等价于郑大大写的博客文章…那,掏钱买书的价值是啥呢?
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.
当初在定义C99全语法时很冲动的看了一遍,觉得作者很牛,这东西真是好。不过隔了近半年,看了作者新出的另外一本书,Language Implementation Pattern,发现之前很多没看懂的地方,新书中都有详细的描述,将ANTLR内部的设计思想也讲得很清楚了。相比而言,这本书只能算是ANTLR...
评分antlr作者写的, 当然不错了。 介绍得可以说深入浅出, 不过要想看进去,还真得认真些, 有些基本的编译原理的知识才成。 要不然,看起来还是有些吃力。 现在俺就在想, 在大学的时候,我究竟学会了什么。 怎么看一本书,都要去重头看一下基础的知识。 基本上,书的内容就是: ...
评分如果你又想学习编译器,但是又不想啃大部头的基本经典书的话,Terence的书正好适合。理论和实践的完美集合。看完理解了,就 能自己做一个简单的编译器玩儿。 如果要深入理解编译理论,还是需要基本大部头来作为补充。
评分antlr作者写的, 当然不错了。 介绍得可以说深入浅出, 不过要想看进去,还真得认真些, 有些基本的编译原理的知识才成。 要不然,看起来还是有些吃力。 现在俺就在想, 在大学的时候,我究竟学会了什么。 怎么看一本书,都要去重头看一下基础的知识。 基本上,书的内容就是: ...
评分当初在定义C99全语法时很冲动的看了一遍,觉得作者很牛,这东西真是好。不过隔了近半年,看了作者新出的另外一本书,Language Implementation Pattern,发现之前很多没看懂的地方,新书中都有详细的描述,将ANTLR内部的设计思想也讲得很清楚了。相比而言,这本书只能算是ANTLR...
The Definitive Antlr Reference 在线电子书 pdf 下载 txt下载 epub 下载 mobi 下载 2024