Tuesday, March 22, 2016

What are the types of errors found in different phases of compiler?


  • The lexical analyzer may be unable to proceed because the next token in the source program is misspelled.
  • The syntaxb analyzer may be unable to infer structure for its input because a syntatic error such as a missing parenthesis has occured.
  • The intermediate code generation detects an operator whose operands have incompatible types.
  • The code optimizer, doing control flow analysis, may detect that certain statements can never be reached.
  • The code generator may find a compiler - created control that is too large to fit in a word of the target machine.
  • While entering information into the symbol table, the bookkeeping routine may discover an identifier.
If You want to learn about the technology, computer science & engineering, web programming, freelancing, earning please click here :CSE SOLVE

0 comments:

Post a Comment