Related articles |
---|
Figure 1.9 from the Dragon Book kvinay@ip.eth.net (Vinay Kakade) (2001-08-20) |
Re: Figure 1.9 from the Dragon Book kurt@inobiz.se (2001-08-24) |
Re: Figure 1.9 from the Dragon Book colohan+@cs.cmu.edu (Christopher Brian Colohan) (2001-08-24) |
From: | Vinay Kakade <kvinay@ip.eth.net> |
Newsgroups: | comp.compilers |
Date: | 20 Aug 2001 01:46:20 -0400 |
Organization: | Compilers Central |
Keywords: | books, question |
Posted-Date: | 20 Aug 2001 01:46:20 EDT |
Hi,
In figure 1.9 (Phases of Compiler)(Page10) of the Dragon Book, the phase
"error handler" is connected to the following phases:
1. Lexical Analyzer
2. Syntax Analyzer
3. Semantic Analyzer
4. Intermediate Code Generator
5. Code Optimizer
6. Code Generator.
I could not understand why the "error handler" needs to be connected
to "Intermediate Code Generator", "Code Optimizer" and "Code
Generator". In other words, for the compiler model in figure 1.9, is
it possible that some erroneous program reaches "Intermediate Code
Generator" phase?
With Thanks and Regards,
-Vinay Kakade.
[Sure, or those phases might report an internal error. -John]
Return to the
comp.compilers page.
Search the
comp.compilers archives again.