`
saybody
  • 浏览: 892328 次
  • 性别: Icon_minigender_2
  • 来自: 西安
文章分类
社区版块
存档分类
最新评论

木书——ANTLR

阅读更多

然现在说这话有点早,但是我还是忍不住矫情一下:这就是日后那本将会称之为“木书”牛书——”龙书“是骑士用来屠龙的宝典,”木书“呢,是木匠用来养家糊口的必备。嗯,我们就属于木匠,天生就是捣腾代码的料~~

book cover

出于敬意,先简介一下:

Product Description
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.

About the Author
Terence Parr is a professor of computer science and graduate program director at the University of San Francisco, where he continues to work on his ANTLR parser generator (http://www.antlr.org) and template engine (http://www.stringtemplate.org). Terence has consulted for and held various technical positions at companies such as IBM, Lockheed Missiles and Space, NeXT, and Renault Automation. Terence holds a Ph.D. in computer engineering from Purdue University and was a postdoctoral fellow at the Army High-Performance Computing Research Center at the University of Minnesota, where he built parallelizing FORTRAN source-to-source translators.

Product Details

  • Paperback:374 pages
  • Publisher:Pragmatic Bookshelf; 1 edition (December 31, 2009)
  • Language:English
  • ISBN-10:193435645X
  • ISBN-13:978-1934356456

低调,想要下载的猛击这里

分享到:
评论

相关推荐

    antlr.jar.zip

    描述"antlr.jar"直接指出了这个压缩包解压后的主要内容——ANTLR的Java实现,即一个名为"antlr.jar"的文件。这个JAR文件包含了ANTLR解析器生成器的全部Java代码,开发者可以将其引入到Java项目中,利用ANTLR的能力来...

    antlr_2.7.6.jar.zip

    在这个场景中,我们关注的是ANTLR的一个特定版本——ANTLR 2.7.6,它被打包成一个名为“antlr_2.7.6.jar”的JAR文件,并存放在名为“antlr_2.7.6.jar.zip”的压缩包中。 **ANTLR 知识点** 1. **ANTLR 的工作原理**...

    antlr-2.7.7.jar.zip

    这个"antlr-2.7.7.jar.zip"文件是ANTLR的一个特定版本——2.7.7的Java版本,包含ANTLR库的jar文件。 ANTLR的工作原理基于上下文无关语法(Context-Free Grammar,CFG),它可以解析符合给定语法的输入,并生成抽象...

    The Definitive ANTLR 4 Reference

    书中不仅有清晰的写作和轻松愉快的风格,而且提供了从设计语法到利用输出的每一步过程的详细解释,结合了实用的示例,使其成为学习ANTLR 4的必备参考书。 ANTLR 4在实际应用中表现出色,例如Twitter公司就使用ANTLR...

    Pragmatic.The Definitive ANTLR 4 Reference.2013.pdf

    书中不仅包括了对ANTLR 4工具本身的深入描述,还提供了从设计语法到使用生成代码各个步骤的清晰解释。 书中评价表明,ANTLR 4作为一个解析工具,非常强大且灵活,尤其适用于解析形式语言。例如,在Twitter中,ANTLR...

    The Definitive ANTLR 4 Reference.pdf_antlr_

    从标题“Definitive ANTLR 4 Reference”和描述“ANTLR 4的权威参考”可以看出,这本书详细介绍了ANTLR 4的所有核心功能和特性,是学习和使用ANTLR 4的重要资源。 ANTLR 4的主要特点包括: 1. **高级语法定义**:...

    ANTLR入门 中英文

    书中的实例和练习帮助初学者快速掌握ANTLR的使用方法。同时,马维达的中文翻译确保了国内读者能无障碍地理解ANTLR的核心理念和技术。 ANTLR的应用场景非常广泛,比如构建自定义编程语言、解析配置文件、实现SQL查询...

    antlr4读书笔记七八章

    通过本章的学习,我们了解到ANTLR4提供的两种强大工具——解析树监听器和访问者模式,可以帮助我们将特定于应用程序的代码与语法解耦,从而提高代码的可维护性和可复用性。无论是通过监听器响应规则事件还是通过访问...

    antlr-2.7.7.jar

    ANTLR(ANother Tool for Language Recognition)是一个强大的解析器生成器,用于读取、处理、执行或翻译结构化文本或二进制文件。ANTLR被广泛应用于各种编程语言的编译器和解释器的构建,它能生成Java、C#、Python...

    开源项目-antlr-antlr4.zip

    ANTLR(ANother Tool for Language Recognition)是一个强大的解析器生成器,用于读取、处理、执行或翻译结构化文本或二进制文件。ANTLR被广泛应用于构建语言、工具和框架,如SQL处理器、Java源码分析器、XML解析器...

    antlr-2.7.7.jar和antlr-2.7.6.jar

    ANTLR(ANother Tool for Language Recognition)是一个强大的解析器生成器,用于读取、处理、执行或翻译结构化文本或二进制文件。ANTLR被广泛应用于各种编程语言的编译器和解释器的构建,它能生成Java、C#、Python...

    ANTLR

    ANTLR(ANother Tool for Language Recognition)是一个强大的解析器生成器,用于读取、处理、执行或翻译结构化文本或二进制文件。它广泛应用于构建语言、工具和框架,包括SQL解析器、XML处理器以及各类编程语言的...

    antlr权威指南

    ANTLR(ANother Tool for Language Recognition)是一门强大的解析器生成器,主要用于读取、处理、...书中涵盖了从基本概念到高级特性的详细讲解,同时提供了丰富的实例和实战指导,是学习ANTLR不可或缺的参考资料。

    java Antlr 4 语法文件合集

    Java Antlr 4 是一个强大的解析工具,用于生成解析器和词法分析器,它使得开发者可以轻松地处理各种语言的语法。Antlr 4 支持多种编程语言,包括 Java,C#,Python,JavaScript 等,而在这个“java Antlr 4 语法文件...

    antlr-2.7.6.jar

    标题“antlr-2.7.6.jar”指的是ANTLR库的特定版本——2.7.6,这是一个Java版本的库文件。.jar(Java ARchive)文件是Java平台上的可执行文件,包含了ANTLR的相关类和资源,使得开发者能够在Java环境中使用ANTLR的...

    Antlr3.Runtime_C#_

    ANTLR(ANother Tool for Language Recognition)是一个强大的解析器生成器,用于读取、处理、执行或翻译结构化文本或二进制文件。它广泛应用于构建语言、工具和框架。ANTLR可以生成Java、C#、Python、JavaScript等...

Global site tag (gtag.js) - Google Analytics