[ Pobierz całość w formacie PDF ]
routines to be declared and elaborated properly. Bear in mind that all procedures declared FORWARD
must later be defined in full, and at the same level as that where the forward declaration was
originally made.
16.18 The poor old GOTO statement is not only hated by protagonists of structured programming. It
is also surprisingly awkward to compile. If you wish to add it to Clang, why should you prevent
users from jumping into procedure or function blocks, and if you let them jump out of them, what
special action must be taken to maintain the integrity of the stack frame structures?
Further reading
Most texts on compiling block-structured languages give a treatment of the material discussed here,
but this will make more sense after the reader has studied the next chapter.
The problems with handling the GOTO statement are discussed in the books by Aho, Sethi and
Ullman (1986) and Fischer and LeBlanc (1988, 1991).
[ Pobierz całość w formacie PDF ]