
Language Implementation Patterns
Terence Parr · 2009
Programming and computer science › Compilers and interpreters
#1,591 most recommended
Hacker News
31
mentions by 27 people · top 11% of 15,732 books
Open Library
—
No ratings yet
10 want to read
Wikipedia
—
No article yet
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
In the commenters’ own words
Language Implementation Patterns by Terrance Parr might be right up your alley. Implementing Programming Languages by Aarne Ranta is likewise a refreshing…
Here are my recommendations. Each is a placeholder for a complete discussion :) Psychology of Programming ========================= 1. "Psychology of Computer…
What Open Library readers say
No Open Library reader has rated it yet.
- 10 want to read
- 0 reading
- 0 have read
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)
Read next: its neighbours on the mosaic
The Definitive ANTLR ReferenceTerence Parr · 2011 · recommended by 5 people · 3 people recommended both
Basics of compiler designTorben ©. Mogensen · 2010 · recommended by 4 people · similar by subject and what people say about it
Writing An Interpreter In GoThorsten Ball · 2018 · recommended by 73 people · named together in 3 comments
Crafting InterpretersRobert Nystrom · 2021 · recommended by 295 people · 3 people recommended both
A retargetable C compilerChristopher W. Fraser · 1995 · recommended by 9 people · similar by subject and what people say about it
Writing A Compiler In GoThorsten Ball · 2018 · recommended by 33 people · similar by subject and what people say about it
Compilers, principles, techniques, and toolsAlfred V. Aho · 1986 · recommended by 195 people · named together in 4 comments
Compiling with ContinuationsAndrew W. Appel · 1992 · recommended by 19 people · similar by subject and what people say about it
Engineering a compilerKeith D. Cooper · 2004 · recommended by 39 people · named together in 2 comments
Successful LispDavid B. Lamkins · 2004 · recommended by 9 people · similar by subject and what people say about it
Writing compilers and interpretersRonald Mak · 1991 · recommended by 4 people · similar by subject and what people say about it
How to Design ProgramsMatthias Felleisen · 2001 · recommended by 277 people · 2 people recommended both
Modern compiler implementation in MLAndrew W. Appel · 1997 · recommended by 24 people · similar by subject and what people say about it
The craft of PrologRichard A. O'Keefe · 1990 · recommended by 18 people · similar by subject and what people say about it
Types and Programming LanguagesBenjamin C. Pierce · 2002 · recommended by 132 people · 2 people recommended both
Essentials of programming languagesDaniel P. Friedman · 1992 · recommended by 43 people · similar by subject and what people say about it
Lisp in Small PiecesChristian Queinnec · 1996 · recommended by 101 people · named together in 2 comments
Principles of compiler designAlfred V. Aho · 1977 · recommended by 8 people · similar by subject and what people say about it
The C Programming LanguageBrian W. Kernighan · 1978 · recommended by 246 people · 2 people recommended both
The Pragmatic ProgrammerAndy Hunt · 1999 · recommended by 353 people · 2 people recommended both
Parsing TechniquesDick Grune · 2007 · recommended by 16 people · similar by subject and what people say about it
Write Great CodeRandall Hyde · 2004 · recommended by 16 people · similar by subject and what people say about it
Compiler design in CAllen I. Holub · 1990 · recommended by 11 people · similar by subject and what people say about it
Understanding ComputationTom Stuart · 2013 · recommended by 13 people · similar by subject and what people say about it