Abstract:
We present the implementation of Moostrap, a reflective prototype-based language, the interpreter of which is written in Scheme. Moostrap is based on a reduced number of primitives, according to a previous work for defining a taxonomy for prototype-based languages. Our purpose is to reify the behavior of any object through two steps: the slot lookup and its application. The first phase is reified thanks to behavioral metaobjects, and the second is managed by special objects, called slot-executants. This kernel does not handle any implicit delegation at first. However, we introduce it, as a first extension of the basic language using a new behavioral meta-object. Keywords: Prototype, Reflection, Primitive, Slot, Creation, Cloning, Delegation, Extensibility, Behavior, Meta-Object, Self, Smalltalk, Scheme. 1 Introduction Our general area of research is the study of reflection in object-oriented languages (OOLs). We have previously defined a model of behavioral reflection expre...
Citations
|
713
|
The Art of Metaobject Protocol
– Kiczales, Rivieres, et al.
- 1991
|
|
145
|
An efficient implementation of self - a dynamically-typed object-oriented language based on prototypes
– Chambers, Ungar, et al.
- 1989
|
|
96
|
Metaclasses are first class: The ObjVlisp model
– Cointe
- 1987
|
|
30
|
Object-Oriented Programming: The CLOS Perspective
– Paepcke
- 1993
|
|
20
|
A Simple Reflective Interpreter
– Jefferson, Friedman
- 1992
|
|
2
|
Dony et Philippe Mulet. Etude de la r'eflexion de comportement dans le langage Self
– Cointe, Malenfant, et al.
- 1992
|
|
2
|
and Eswaran Subrahmanian. BOS: The Basic Object System, An Embeddable, Language-Independant Object System. Engineering Design Research
– Levy
- 1992
|
|
2
|
Cointe and Christophe Dony. Reflection in Prototype-Based Object-Oriented Programming Languages
– Malenfant, Pierre
- 1991
|
|
1
|
Prototype-Based Languages : From a New Taxinomy to Constructive Proposals and Their Validation
– Dony, Malenfant, et al.
- 1992
|
|
1
|
Dony and Pierre Cointe. Behavioral Reflection in a Protoype-Based Language
– Malenfant, Christophe
- 1992
|
|
1
|
Ultimardrev Self: R'ealisation d'un Interpr`ete du Langage Self en Smalltalk 80. Rapport du DEA LAP. Universit'e de Paris VI
– Mulet, Rivard
- 1991
|