Category Archives: scheme
Adding Objects to Scheme
In this post I will quickly explain the basic principle of SchemeTalk: how closures can be turned into objects. While this topic is well-known, I will explain it shortly anyhow since it is vital to the understanding of how SchemeTalk … Continue reading →
SchemeTalk — Implementing Actors with First-class Methods
In this post I will explain how to use the metamethods (decorators) from the previous post to implement a simple version of actors in SchemeTalk. Our model will present a new type of objects: actors. Actors are objects which ensure … Continue reading →
SchemeTalk — The Extended Meta-Object Protocol: First-class Methods
Methods in SchemeTalk are not special built-in objects, but rather normal objects following a specific protocol. The protocol for methods is that first a method is bound to a self and a super. This returns a bound-method. SchemeTalk provides you … Continue reading →
SchemeTalk — The Extended Meta-Object Protocol: First Class Slots
SchemeTalk objects store its instance variables in slots. These are special objects with a special protocol, which is used by the automatically generated getter and setter methods. In pseudo-code, default slots are defined as: > (define slot-class (new-class Slot object-class … Continue reading →
SchemeTalk — Getting Started
1. Installing 1) Download DrScheme from plt-scheme.org and install. 2) Select the Pretty Big language in DrScheme. 3) Download SchemeTalk from subversion or a prebuilt plt file, in which case you go to step 5. 4) Open make.ss in DrScheme … Continue reading →