Page:AIM-353.djvu/2

From Wikisource
Jump to navigation Jump to search
This page has been validated.

PAGE 2

Contents

Introduction 1
1. Simple Loops 2
1.1. Simple Recursion 2
1.2. Iteration 2
2. Imperative Programming 5
2.1. Compound Statements 5
2.2. The GO TO Statement 6
2.3. Simple Assignment 7
2.4. Compound Expressions 8
3. Continuations 10
3.1. Continuation-Passing Recursion 10
3.2. Escape Expressions 13
3.3. Dynamic Variable Scoping 14
3.3.1. Free (Global) Variables 15
3.3.2. Dynamic Binding 16
4. Parameter Passing Mechanisms 21
4.1. Call-By-Name 21
4.2. Call-By-Need 22
4.3. Fast Call-By-Name 23
4.4. Assignment by Reference 25
Conclusions 29
Notes 30
Bibliography 36