
The Definitive ANTLR Reference
Terence Parr · 2011
Programming and computer science › Compilers and interpreters
#5,311 most recommended
Hacker News
8
mentions by 7 people · top 35% of 15,732 books
Open Library
—
No ratings yet
1 want to read
Wikipedia
—
No article yet
About the book
A reference and tutorial on ANTLR, the parser generator that turns a grammar file into a lexer, parser, and tree walker. It covers grammar syntax, lexer and parser rules, actions, attributes, and AST construction, with a focus on building domain-specific languages and language tools in Java and other target languages. Language grammars can be written as a high-level, declarative specification from which the recognizer is generated, rather than hand-coded. The book contends that ANTLR's LL(*) parsing strategy lets grammar writers express real languages without manual lookahead tricks or left-recursion workarounds. It also treats lexing, parsing, and tree walking as separate, composable stages, and presents building small languages as a practical technique for ordinary software work.
Written by Claude from what it knows of this book.
What Hacker News says 71% recommend · 0% critical
In the commenters’ own words
Well, this is (one of my) areas so here goes. DSLs are a concept, not an implementation. As implemented they can vary from chained procedure calls to actual…
Designing a programming language is something I've found very interesting for the past few years now, but this is the one area of programming that really…
What Open Library readers say
No Open Library reader has rated it yet.
- 1 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
Details
- First published
- 2011
- ISBN
- 9780978739256
- Editions known
- 2 at Open Library
- Open Library
- OL8848833W
GrammarParsing (Computer grammar)Programming languagesProgramming languages (Electronic computers)Syntax
Read next: its neighbours on the mosaic
Language Implementation PatternsTerence Parr · 2009 · recommended by 18 people · 3 people recommended both
Parsing TechniquesDick Grune · 2007 · recommended by 16 people · similar by subject and what people say about it
Parsing Techniques A Practical GuideCeriel Jacobs · 2010 · recommended by 7 people · similar by subject and what people say about it
Compilers, principles, techniques, and toolsAlfred V. Aho · 1986 · recommended by 195 people · similar by subject and what people say about it
Learning GNU EmacsDebra Cameron · 1991 · recommended by 7 people · loosely similar by subject
Programming Language PragmaticsMichael L. Scott · 1999 · recommended by 31 people · similar by subject and what people say about it
The Practice of ProgrammingBrian W. Kernighan · 1999 · recommended by 90 people · similar by subject and what people say about it
Advanced compiler design and implementationSteven S. Muchnick · 1997 · recommended by 13 people · similar by subject and what people say about it
The annotated C++ reference manualMargaret A. Ellis · 1990 · recommended by 2 people · similar by subject and what people say about it
Essentials of programming languagesDaniel P. Friedman · 1992 · recommended by 43 people · similar by subject and what people say about it
C, The Complete ReferenceHerbert Schildt · 1987 · recommended by 1 person · similar by subject and what people say about it
Practical Foundations for Programming LanguagesRobert Harper · 2016 · recommended by 17 people · similar by subject and what people say about it
Modern compiler designDick Grune · 2000 · recommended by 12 people · similar by subject and what people say about it
The C Programming LanguageBrian W. Kernighan · 1978 · recommended by 246 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
Paradigms of Artificial IntelligencePeter Norvig · 1991 · recommended by 63 people · similar by subject and what people say about it
The art of PrologLeon Sterling · 1986 · recommended by 36 people · similar by subject and what people say about it
Expert C programming!Peter Van der Linden · 1994 · recommended by 88 people · similar by subject and what people say about it
Code CompleteSteve McConnell · 1993 · recommended by 393 people · similar by subject and what people say about it
C, a reference manualSamuel P. Harbison · 1984 · recommended by 30 people · similar by subject and what people say about it
Crafting InterpretersRobert Nystrom · 2021 · recommended by 295 people · similar by subject and what people say about it
A retargetable C compilerChristopher W. Fraser · 1995 · recommended by 9 people · similar by subject and what people say about it
Modern compiler implementation in CAndrew W. Appel · 2004 · recommended by 8 people · similar by subject and what people say about it
Developing Safety-Critical SoftwareLeanna Rierson · 2013 · recommended by 3 people · loosely similar by subject