ObjVlisp explained
ObjVlisp is a 1984 object-oriented extension of Vlisp[1] –Vincennes LISP, a LISP dialect developed since 1971 at the University of Paris VIII – Vincennes. It is noteworthy as one of the earliest implementations of the concept of metaclasses, and in particular explicit (as opposed to implicit) metaclasses. In the ObjVlisp model, "each entity is an instance of a single class. Classes are instances of other classes, called metaclasses. This model allows for extension of the static part of OOL, i.e. the structural aspects of objects considered as implementation of abstract data types"[2]
ObjVlisp provided a far more flexible metaclass model than that provided by earlier object-oriented languages, especially Smalltalk. In Smalltalk-80, whenever a new class is created, a corresponding metaclass is created automatically; it does not have a name independent of that of the metaclass for which it was created–metaclasses are implicit rather than explicit. By contrast, in ObjVlisp, it is possible to define named metaclasses, and when defining a class one must specify which named metaclass it will instantiate.[3]
The explicit metaclass support in ObjVlisp influenced the provision of the same capability in the Common Lisp Object System.[4]
The ObjVlisp object model was later implemented in Prolog to produce ObjVProlog.[5] [6] Both Python and Converge implement a meta-class system that is equivalent of that of ObjVLisp.[7] [8]
Notes and References
- Cointe. Pierre. Metaclasses are first class: The ObjVlisp Model. ACM SIGPLAN Notices. 22. 12. 1987. 156–162. 0362-1340. 10.1145/38807.38822.
- Book: Ferber. J.. Conference proceedings on Object-oriented programming systems, languages and applications - OOPSLA '89. Computational reflection in class based object-oriented languages. 1989. 317–326. 10.1145/74877.74910. 978-0897913331. 305719.
- Book: Briot. J.-P.. Conference proceedings on Object-oriented programming systems, languages and applications - OOPSLA '89. Cointe. P.. Programming with explicit metaclasses in Smalltalk-80. 1989. 419–431. 10.1145/74877.74921. 978-0897913331. 15529194.
- Book: Graube. Nicolas. ECOOP '88 European Conference on Object-Oriented Programming. Reflexive Architecture: From ObjVLisp to CLOS. 322. 1988. 110–127. 0302-9743. 10.1007/3-540-45910-3_7. Lecture Notes in Computer Science. 978-3-540-50053-7.
- Malenfant. J.. Lapalme. G.. Vaucher. J.. ObjVProlog-D: a reflexive object-oriented logic language for distributed computing. ACM SIGPLAN OOPS Messenger. 2. 2. 1991. 78–81. 1055-6400. 10.1145/127070.127089. free.
- "ObjVProlog: Metaclasses in Logic", J. Malenfant, ECOOP '89, Cambridge U Press 1989, pp. 257–269
- Web site: Metacircularity. Tratt. Laurence. September 12, 2005. tratt.net. 2017-07-21.
- Book: 500 Lines or less. DiBernardo. Michael. Brown. Amy. 2016. Lulu.com. 9781329871274. [S.l.]. Chapter 14, A Simple Object Model. 986953971. http://www.aosabook.org/en/500L/a-simple-object-model.html.