Language Implementation Patterns

Language Implementation Patterns
Author :
Publisher : Pragmatic Bookshelf
Total Pages : 456
Release :
ISBN-10 : 9781680503746
ISBN-13 : 168050374X
Rating : 4/5 (74X Downloads)

Book Synopsis Language Implementation Patterns by : Terence Parr

Download or read book Language Implementation Patterns written by Terence Parr and published by Pragmatic Bookshelf. This book was released on 2009-12-31 with total page 456 pages. Available in PDF, EPUB and Kindle. Book excerpt: Learn to build configuration file readers, data readers, model-driven code generators, source-to-source translators, source analyzers, and interpreters. You don't need a background in computer science--ANTLR creator Terence Parr demystifies language implementation by breaking it down into the most common design patterns. Pattern by pattern, you'll learn the key skills you need to implement your own computer languages. 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 Related Books

Language Implementation Patterns
Language: en
Pages: 456
Authors: Terence Parr
Categories: Computers
Type: BOOK - Published: 2009-12-31 - Publisher: Pragmatic Bookshelf

DOWNLOAD EBOOK

Learn to build configuration file readers, data readers, model-driven code generators, source-to-source translators, source analyzers, and interpreters. You don
Implementation Patterns
Language: en
Pages: 289
Authors: Kent Beck
Categories: Computers
Type: BOOK - Published: 2007-10-23 - Publisher: Pearson Education

DOWNLOAD EBOOK

Software Expert Kent Beck Presents a Catalog of Patterns Infinitely Useful for Everyday Programming Great code doesn’t just function: it clearly and consisten
The Pragmatic Programmer
Language: en
Pages: 346
Authors: Andrew Hunt
Categories: Computers
Type: BOOK - Published: 1999-10-20 - Publisher: Addison-Wesley Professional

DOWNLOAD EBOOK

What others in the trenches say about The Pragmatic Programmer... “The cool thing about this book is that it’s great for keeping the programming process fre
Crafting Interpreters
Language: en
Pages: 1021
Authors: Robert Nystrom
Categories: Computers
Type: BOOK - Published: 2021-07-27 - Publisher: Genever Benning

DOWNLOAD EBOOK

Despite using them every day, most software engineers know little about how programming languages are designed and implemented. For many, their only experience
The Definitive ANTLR 4 Reference
Language: en
Pages: 420
Authors: Terence Parr
Categories: Computers
Type: BOOK - Published: 2013-01-15 - Publisher: Pragmatic Bookshelf

DOWNLOAD EBOOK

Programmers run into parsing problems all the time. Whether it's a data format like JSON, a network protocol like SMTP, a server configuration file for Apache,