Changeset 19402
- Timestamp:
- 01/10/08 16:25:23 (11 months ago)
- Files:
-
- 1 modified
-
v6/yap6/NOTES_BOOTSTRAP.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
v6/yap6/NOTES_BOOTSTRAP.txt
r19360 r19402 11 11 12 12 13 any dispatcher is a value any metaclass is a dispatcher14 ____________________________ _____________________________15 | | | |16 V | V |17 YAP6__Object* YAP6__Prototype* YAP6__MetaClass*18 | ^ | ^19 | | | |20 ---------------------------- -------------------------------21 any value have a dispatcher any dispatcher have a metaclass13 any responder interface is an object 14 ____________________________ 15 | | 16 V | 17 YAP6__Object* YAP6__ResponderInterface* 18 | ^ 19 | | 20 ---------------------------- 21 any object have a responder interface 22 22 23 23 24 These t hree C types (typedef struct) are the three basic elements of25 the YAP6runtime, and they implement the features that Perl 6 needs.24 These two C types (typedef struct) are the basic elements of the YAP6 25 runtime, and they implement the features that Perl 6 needs. 26 26 27 27 Basic Idea 28 28 =================================================================== 29 29 30 The Object is completely dependant on its prototype, is only a storage 31 and the only ones that knows its internal structure are its prototype, 32 and, by extension, its metaclass. 30 The Object is completely dependant on its Responder Interface, which 31 is the only ones that knows its internal structure. 33 32 34 33 The prototype object is an Object itself and is the return of the
