I’m considering this book, or maybe the Language Implementation Patterns one, in order to write a program which can parse and perhaps even interpret a very old “control” language. This language dates from the 1960s and is still in use and being enhanced. But in a very “ad hoc” way. Which has made it very difficult for me to write a parser for it. I have gotten about 90% success using Bison and Flex. I am curious about Antlr, and this archaic language is my “test case” as it is a real PITA to parse. It is somewhat column oriented, with certain things needing to start in specific columns (like labels in column 3 because columns 1-2 are always //, continuation indicated by a non-blank in column 72. Columns beyond 72 are ignored. and so on).
I am used to reading things which are similar to “Language Reference” manuals with examples. I have read the Groovy, Scala, and Clojure books from this site and feel that I’ve learned a lot from them. Could this book be considered a “reference manual with comments”?