Terence Parr是美国旧金山大学的计算机教授、研究生导师,他一直致力于从事ANTLR项目(antlr.org)和模板引擎(stringtemplate.org)的设计和开发工作。Terence曾担任IBM、洛克希德马丁、NeXT、雷诺汽车等公司的技术顾问,另著有《ANTLR权威指南》。
发表于2025-04-15
Language Implementation Patterns 2025 pdf epub mobi 电子书
自从2001年开始迷上编译原理,这么多年以来一直断断续续地学习,却一直处于半懂不懂且缺乏实践的尴尬境地,以至于都要引以为平生一憾了。 昨晚看过本书前两章,感觉作者有两点做得好:一是首先建立大局观,不一上来就陷入细枝末节,这样比较容易入门;二是追求实用性,...
评分最近比较关注Programming Language Processor方面的书,有大部头深入浅出的龙书,也有精辟的Model Checking,不过真要落到实处,还是需要从一行行代码开始写起。软件理论大多晦涩,现有的一些工具实现方式大多古老(比如SPIN是YACC+C,图形上使用的tk/tcl),要开源或者产品化...
评分还没看完,先挖个坑。 话说要读这本书想觉得简单一些,建议先读它的前传《The Definitive Antlr Reference》http://book.douban.com/subject/1941193/(额,貌似这本是讲ANTLR 3的,目前出到ANTLR 4,还有一本《The Definitive ANTLR 4 Reference》http://book.douban.com/sub...
评分标题的观点是关于本书的某个评价,觉得再贴切不过。这本书是野路子,不同于任何一本compiler的书,直接了当的描述implementation patterns(前端)。看看这本书的篇幅你就会知道,看了这本书,你并不会得到编译原理相关的太多知识的。你其实仍然需要一本诸如龙书这样的书来真正...
评分2012年4月第一版第一次印刷 P59最后一段“由于C++函数头文件不限大小”,英文版中是“function header”应翻译为函数头。 P88页中间“因此可以用前缀操作父^制定操作符词法单元”,英文版中是”suffix“应翻译为后缀。
图书标签: 编译原理 编译器 ANTLR compiler 编程 计算机 程序设计 programming
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.
还没看完
评分感觉可以归入应用类书籍,即是教会你如何去用,至于怎么用和为什么要这么用则不属于这本书的范畴.总地来说,就是一本工程味道浓重的书.
评分还没看完
评分还没看完
评分书很好读,内容太少。
Language Implementation Patterns 2025 pdf epub mobi 电子书