Published at LXer:
Flex and Bison are powerful tools for developing lexical and grammar parsers, in particular language compilers and interpreters. Although it is easy to generate programs using Flex and Bison, it is a bit harder to make those programs produce user-friendly syntax and semantic error messages. This article examines the error-handling features of Flex and Bison, shows how to use them, and details some pitfalls.
Read More...