A compiler is a system which in most cases has to deal with an incorrect input. Especially during the first developing steps of a program, a compiler will probably be used to perform those features which should be provided by a good syntax directed editing system, i.e. to find out if variables are not declared before using or if brackets are missing and things like that. Therefore, error handling is an important part of a compiler and the compiler writer always has to keep this fact in mind when designing a compiler.
KeywordsError Message Error Recovery Input Symbol Error Handling Semantic Error
Unable to display preview. Download preview PDF.