
Flex & bison
John R. Levine · 2009
Programming and computer science › Compilers and interpreters
#3,857 most recommended
Hacker News
11
mentions by 11 people · top 27% of 15,732 books
Open Library
—
No ratings yet
1 want to read
Wikipedia
—
No article yet
About the book
A practical guide to flex, the fast lexical analyzer generator, and GNU bison, the parser generator that works alongside it. It covers writing scanners and grammars for building interpreters, compilers, and text-processing tools on Unix-like systems, with worked examples throughout. Hand-writing lexers and parsers is tedious and error-prone, and declarative tools that generate them from patterns and grammar rules produce better results with less effort. The book presents flex and bison as a complementary pair, with the scanner feeding tokens to the parser. It also stresses testing, error handling, and building up from small working programs to complete language processors.
Written by Claude from what it knows of this book.
What Hacker News says 27% recommend · 0% critical
In the commenters’ own words
This is just an anecdote, but I had to write a SQL DDL and DML parser during my last semester. I wrote the DDL parser by hand, and it wasn't as bad as I…
I've been thinking about writing my own programming language for some time. This to gain a deeper understanding of how programming languages, and by extent…
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
- 2009
- ISBN
- 9780596155971
- Editions known
- 10 at Open Library
- Open Library
- OL16961859W
Com046030Compilers (computer programs)Computer scienceCs.cmp_sc.app_swCs.cmp_sc.opert_systmGeneralInterpreters (computer programs)JavascriptLinux (computer operating system)Text processing (Computer science)UNIX (computer operating system)Utilities (Computer programs)
Read next: its neighbours on the mosaic
Crafting InterpretersRobert Nystrom · 2021 · recommended by 295 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
Writing An Interpreter In GoThorsten Ball · 2018 · recommended by 73 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
Engineering a compilerKeith D. Cooper · 2004 · recommended by 39 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
Language Implementation PatternsTerence Parr · 2009 · recommended by 18 people · similar by subject and what people say about it
Essentials of CompilationJeremy G. Siek · 2023 · recommended by 17 people · similar by subject and what people say about it
Parsing TechniquesDick Grune · 2007 · recommended by 16 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
Modern compiler designDick Grune · 2000 · recommended by 12 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
Parsing Techniques A Practical GuideCeriel Jacobs · 2010 · recommended by 7 people · similar by subject and what people say about it
The little LISPerDaniel P. Friedman · 1974 · recommended by 28 people · similar by subject and what people say about it
Software Design for FlexibilityChris Hanson · 2021 · recommended by 8 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
Lisp in Small PiecesChristian Queinnec · 1996 · recommended by 101 people · similar by subject and what people say about it
Threaded interpretive languagesR. G. Loeliger · 1981 · recommended by 24 people · similar by subject and what people say about it
On LISPPaul Graham · 1993 · recommended by 192 people · similar by subject and what people say about it
Compiler constructionNiklaus Wirth · 1996 · recommended by 30 people · similar by subject and what people say about it
Modern compiler implementation in MLAndrew W. Appel · 1997 · recommended by 24 people · similar by subject and what people say about it
Compiling with ContinuationsAndrew W. Appel · 1992 · recommended by 19 people · similar by subject and what people say about it
Beautiful RacketMatthew Butterick · 2017 · recommended by 44 people · similar by subject and what people say about it
Build Your Own LispMr Daniel Holden · 2014 · recommended by 23 people · similar by subject and what people say about it