Explain about compilers for the following:
Its structure,error handling,error recovery and repair techniques.
- 4145 दृश्य
- 1 उत्तर
Your Answer
The tasks of the Error Handling process are to detect each error, report it to the user, and then make some recover strategy and implement them to handle error. During this whole process processing time of program should not be slow. An Error is the blank entries in the symbol table.
Error Recovery :The basic requirement for the compiler is to simply stop and issue a message, and cease compilation. There are some common recovery methods that are follows : Panic mode recovery, Phase level recovery, Error productions,Global correction
-
- 01 अप्रैल
- 0 टिप्पणी
टिप्पणी
मॉक परीक्षण अभ्यास के लिए
computer science and engineering