DeepRead
Cover of Language Implementation Patterns

Language Implementation Patterns

Terence Parr · 2009

Programming and computer science › Compilers and interpreters

#1,591 most recommended

About the book

Language Implementation Patterns covers how to build processors for small computer languages, including configuration file readers, data readers, code generators, source-to-source translators, source analyzers, and interpreters. It focuses on domain-specific languages rather than full compilers, and its sample implementations are written in Java, with many using the ANTLR parser generator. Language implementation can be broken into a set of recurring design patterns, so a reader does not need a computer science background or deep compiler theory to build a working language tool. Each pattern is introduced with a complete, runnable sample and its tradeoffs. The approach is that a developer who learns these patterns can solve most common language problems, whether the goal is parsing input, analyzing source code, or generating output.

Written by Claude from what it knows of this book.

What Hacker News says 67% recommend · 7% critical

02.5520102015202020252016 peak · 5
This bookAverage book in Compilers and interpreters

In the commenters’ own words

What Open Library readers say

No Open Library reader has rated it yet.

  • 10 want to read
  • 0 reading
  • 0 have read

Open Library’s page for the book

What critics say, via Wikipedia

No Wikipedia article about this book yet, so no critics to quote.

Reddit communities — coming later

The threads it came up in

Details

First published
2009
ISBN
9781934356456
Editions known
2 at Open Library
Open Library
OL16986483W

Domain-specific programming languagesOther programming languagesParsing (computer grammar)ProgrammeertalenProgramming languages (electronic computers)

Explore in the mosaic

Read next: its neighbours on the mosaic