Compiler diagnostics: Programming Language Design course | Zoonk
55. Compiler diagnostics
Produce errors that identify the cause, location, consequence, and likely repair without overwhelming the programmer. Test diagnostics against malformed programs and preserve source information through compiler transformations.