3 ms·
What approach does this book take to error recovery? Several "compiler light" style articles and books kind of walk over that part, and it can be non-trivial t
by whartung 2y ago
What approach does this book take to error recovery?
Several "compiler light" style articles and books kind of walk over that part, and it can be non-trivial to do properly, especially with modern expectations.
I remember way back in the day, one of the early C compilers for the PDP, and, honestly, it could almost be argued that ed(1) had better error messages than what that thing produced.
A lot of simple compilers hit an error and just give up.
So, just curious what the approach was in this book.