Close sidebar

Explain about compilers for the following:

Its structure,error handling,error recovery and repair techniques.

  • Sree
  • 4040 Views
  • 1 Answers
1 Answers
  • The tasks of the strongError Handling/strong 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 strongError/strong is the blank entries in the symbol table.br /strongError Recovery :/strongThe 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


Practice Mock Test
computer science and engineering