These days, the challenges that language authors face are more along the lines of: The early phases of a compiler (lexical, syntactic, abstract syntax tree building) are automated very efficiently with tools these days so there is very little point in writing a parser manually (except if you are learning, of course). The code is barely one abstraction above BASIC and GOTO. No classes, no polymorphism, no delegation, no design patterns, no mention of anything remotely related to functional programming. I wrote my first compiler in Pascal/Modula (for Oberon as it turns out) and I based it on the Dragon book, so while I don't want to diminish the importance of these two things, I don't think there is much value in the kind of approach described in this book for a couple of reasons:
0 Comments
Leave a Reply. |