圖書標籤: 編譯原理 antlr compiler 編譯器 計算機 編譯 programming 計算機科學
发表于2024-11-25
The Definitive Antlr Reference pdf epub mobi txt 電子書 下載 2024
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.
係統性學習amtlr編譯工具。
評分ANTLR完整的用戶參考手冊,講解瞭ANTLR的詳細使用方法,結閤編譯原理和語言設計方麵的知識,結閤大量實際語言開發過程麵臨的各方麵問題,對ANTLR提供的解決方案、模式、原則進行詳細的講解,讓讀者掌握如何使用ANTLR的基礎功能,瞭解ANTLR一些機製的背後原理、設計動機,從而真正具備熟練運用ANTLR的基礎
評分我學到的隻是皮毛.
評分係統性學習amtlr編譯工具。
評分工程化背景的compiler,看看到底compiler應該如何工程化,另一個比較好用的工具是javacc + jjtree,忽然間想寫一點代碼生成的東西,重新翻齣來,搞搞
如果你又想学习编译器,但是又不想啃大部头的基本经典书的话,Terence的书正好适合。理论和实践的完美集合。看完理解了,就 能自己做一个简单的编译器玩儿。 如果要深入理解编译理论,还是需要基本大部头来作为补充。
評分antlr作者写的, 当然不错了。 介绍得可以说深入浅出, 不过要想看进去,还真得认真些, 有些基本的编译原理的知识才成。 要不然,看起来还是有些吃力。 现在俺就在想, 在大学的时候,我究竟学会了什么。 怎么看一本书,都要去重头看一下基础的知识。 基本上,书的内容就是: ...
評分antlr作者写的, 当然不错了。 介绍得可以说深入浅出, 不过要想看进去,还真得认真些, 有些基本的编译原理的知识才成。 要不然,看起来还是有些吃力。 现在俺就在想, 在大学的时候,我究竟学会了什么。 怎么看一本书,都要去重头看一下基础的知识。 基本上,书的内容就是: ...
評分如果你又想学习编译器,但是又不想啃大部头的基本经典书的话,Terence的书正好适合。理论和实践的完美集合。看完理解了,就 能自己做一个简单的编译器玩儿。 如果要深入理解编译理论,还是需要基本大部头来作为补充。
評分当初在定义C99全语法时很冲动的看了一遍,觉得作者很牛,这东西真是好。不过隔了近半年,看了作者新出的另外一本书,Language Implementation Pattern,发现之前很多没看懂的地方,新书中都有详细的描述,将ANTLR内部的设计思想也讲得很清楚了。相比而言,这本书只能算是ANTLR...
The Definitive Antlr Reference pdf epub mobi txt 電子書 下載 2024