Language Implementation Patterns

Language Implementation Patterns pdf epub mobi txt 電子書 下載2025

Terence Parr是美國舊金山大學的計算機教授、研究生導師,他一直緻力於從事ANTLR項目(antlr.org)和模闆引擎(stringtemplate.org)的設計和開發工作。Terence曾擔任IBM、洛剋希德馬丁、NeXT、雷諾汽車等公司的技術顧問,另著有《ANTLR權威指南》。

出版者:Pragmatic Bookshelf
作者:Terence Parr
出品人:
頁數:374
译者:
出版時間:2010-1-10
價格:USD 34.95
裝幀:Paperback
isbn號碼:9781934356456
叢書系列:
圖書標籤:
  • 編譯原理 
  • 編譯器 
  • ANTLR 
  • compiler 
  • 編程 
  • 計算機 
  • 程序設計 
  • programming 
  •  
想要找書就要到 小美書屋
立刻按 ctrl+D收藏本頁
你會得到大驚喜!!

Knowing how to create domain-specific languages (DSLs) can give you a huge productivity boost. Instead of writing code in a general-purpose programming language, you can first build a custom language tailored to make you efficient in a particular domain. The key is understanding the common patterns found across language implementations. "Language Design Patterns" identifies and condenses the most common design patterns, providing sample implementations of each. The pattern implementations use Java, but the patterns themselves are completely general. Some of the implementations use the well-known ANTLR parser generator, so readers will find this book an excellent source of ANTLR examples as well. But this book will benefit anyone interested in implementing languages, regardless of their tool of choice. Other language implementation books focus on compilers, which you rarely need in your daily life. Instead, "Language Design Patterns" shows you patterns you can use for all kinds of language applications. You'll learn to create configuration file readers, data readers, model-driven code generators, source-to-source translators, source analyzers, and interpreters. Each chapter groups related design patterns and, in each pattern, you'll get hands-on experience by building a complete sample implementation. By the time you finish the book, you'll know how to solve most common language implementation problems.

具體描述

讀後感

評分

前两天去图书馆转悠,看到了这本书,还蛮新的就带回宿舍了。 说起来这是第一次看有关实现一门语言的书。龙书这样的大部头当然就更没有看过了,不敢贸然比较。 这本书给我的感觉是,作者始终站在一个较高的层面来看待语言的实现,全书讲解了数十个模式,但并未陷入到复杂的代...  

評分

最近在看这本书,初衷是学习编译器实现的相关模式。 做过编译器前端的相关开发工作,所以感觉本书前面提及的内容都还比较浅显易懂。 但到了后面的,语意分析,代码执行等部分一直是用ANTLR描述语言来讲解。 这和我的预期有很大的不同。 我以前没用过ANTLR, 现在也不打算学习这...  

評分

本书深入浅出的讲解了如何编写语言应用,作者是ANTLR的开发者,也是Lex 和 YACC的另外JAVA实现,对语言实现需求者是一本很好的应用书,值得期待。使用 Antlr 等识别工具来识别,解析,构造编译器比手工编程更加容易,同时开发的程序也更易于维护。也是现在DSL的实现方法之一。  

評分

本书深入浅出的讲解了如何编写语言应用,作者是ANTLR的开发者,也是Lex 和 YACC的另外JAVA实现,对语言实现需求者是一本很好的应用书,值得期待。使用 Antlr 等识别工具来识别,解析,构造编译器比手工编程更加容易,同时开发的程序也更易于维护。也是现在DSL的实现方法之一。  

評分

还没看完,先挖个坑。 话说要读这本书想觉得简单一些,建议先读它的前传《The Definitive Antlr Reference》http://book.douban.com/subject/1941193/(额,貌似这本是讲ANTLR 3的,目前出到ANTLR 4,还有一本《The Definitive ANTLR 4 Reference》http://book.douban.com/sub...  

用戶評價

评分

對於編譯器前端概念講解很生動,沒有一般教科書式的死闆,且內容很新穎(在編譯器前端這麼個老掉牙的領域),講瞭LL(*),主要是實戰地解釋編碼怎麼實現...很遺憾沒有包含作者在前言中提到的LLVM的內容...

评分

感覺可以歸入應用類書籍,即是教會你如何去用,至於怎麼用和為什麼要這麼用則不屬於這本書的範疇.總地來說,就是一本工程味道濃重的書.

评分

所有程序員都在編寫領域語言,隻是在選擇編寫領域語言的基礎工具不同。Domain language是我在一本講開發模式書中提到的,現在再迴想下果然是涵蓋廣泛啊。其實所有工作都是在某個領域用某類工具完成某些任務。

评分

a must have book for writing external DSLs

评分

書很好讀,內容太少。

本站所有內容均為互聯網搜索引擎提供的公開搜索信息,本站不存儲任何數據與內容,任何內容與數據均與本站無關,如有需要請聯繫相關搜索引擎包括但不限於百度google,bing,sogou

© 2025 book.quotespace.org All Rights Reserved. 小美書屋 版权所有