What Is On These Slides

This is an example of compiling using the semantic stack. Above the top line is a statement to be compiled. The bullet shows the current location of the compiler's scan. Below the bottom line is the semantic actions that are about to be executed according to the grammar for this statement. The middle shows what information is placed on the semantic stack in what order by the semantic routines. We also show the code as it is generated. First we see an example of the processing of a statement. Later we will see a declaration being processed.
Next Page