This presentation have information about error detection and error recovery and phases of errors
Size: 1.15 MB
Language: en
Added: May 27, 2024
Slides: 8 pages
Slide Content
Error detection and recovery BY: JEHANZEB BULEDI 1
Before knowing about error detection and recovery firstly know about the scenario of compiler. 1
Now what happens ? When any error occurs it will go towards error handler After that error handler performs 3 operations Error detection Error reporting Error recovery 2
Error Usually error comes in two times 3 Compile time error Run time error
Compile Time error There are three major errors generates in Compile time Lexical Phase error Syntactic Phase error Semantic Phase error 4