next up previous contents
Next: Maintaining the Size Up: Compiling Pascal Previous: Parameters

Statements

 

Before being able to compile assignments or other statements, you have to be able to handle expressions. After a section on how to keep track of the number of words on the operand stack, this chapter describes how to generate code for expressions and after that how to compile statements like assignment statements, procedure calls, write and writeln statements, control statements and how to handle function returns, which I also regard as being statements in Pascal.





mark@bottom.xs4all.nl