Luca's meaningless thoughts  

Generating Good Syntax Errors

by Leandro Lucarella on 2010- 02- 13 19:04 (updated on 2010- 02- 13 19:04)
tagged bison, compiler, d, en, parser generator, syntax error, yacc - with 0 comment(s)

Here is a nice article by Russ Cox explaining how to plug nice syntax errors to parser generators, specifically Bison. The gc compiler suite for Google's Go now is using that trick.