Machine-translated by Google. Questions are authored in English.
Top

Discussion

A symbol table is described as spanning all phases of the compiler because

  • A.it is physically larger than any other compiler structure
  • B.it must be rebuilt from scratch at the start of every phase
  • C.no phase can complete without emptying it completely
  • D.several different phases both write to it and read from it

Answer: D

The scanner installs, semantic analysis annotates, code generation reads. Its position in the classical diagram reflects that shared use rather than any special size. The error handler is drawn the same way and for the same reason.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.