next up previous contents
Next: Classes and Instances Up: No Title Previous: Outline of this

Classes, Instances, and Message Passing

 

In this chapter I will first summarize how classes and instances of classes can be simulated in Scheme. The techniques that I describe are well-known from the literature [1,2], but I chose to introduce the basic simulation techniques quite carefully because they make up the entire basis for the rest of the report.

Following the introduction of classes and instances of classes, I describe how to simulate message passing. First I introduce the quite well-known send primitive. Finally, I show how to arrange for what is known as a generic procedure interface to the objects.





Kurt Noermark
Wed Mar 6 10:30:05 MET 1996