Next: , Previous: , Up: Imperative Language Interpreter   [Index]

5.4 Imperative Program Parsing Error Reporting

Simple ‘parse error’ messages are likely to be questionable useful most of times. The program parser can record the syntax errors that prevented successful program parsing and format some description detailing them at some later point so that meaningful error messages can be presented to the user.