gbeta - a Language with Virtual Attributes, Block Structure, and Propagating, Dynamic Inheritance
Author:
- Erik ErnstEEErik Ernst
Open Access
- 1 May 2000
- journal article
- Published by Det Kgl. Bibliotek/Royal Danish Library in DAIMI Report Series
- Vol. 29 (549)
Abstract
A language design development process is presented which leads to a language, gbeta, with a tight integration of virtual classes, general block structure, and a multiple inheritance mechanism based on coarse-grained structural type equivalence. From this emerges the concept of propagating specialization. The power lies in the fact that a simple expression can have far-reaching but well-organized consequences, e.g., in one step causing the combination of families of classes, then by propagation the members of those families, and finally by propagation the methods of the members. Moreover, classes are first class values which can be constructed at run-time, and it is possible to inherit from classes whether or not they are compile-time constants, and whether or not they were created dynamically. It is also possible to change the class and structure of an existing object at run-time, preserving object identity. Even though such dynamism is normally not seen in statically type-checked languages, these constructs have been integrated without compromising the static type safety of the language.Keywords
This publication has 9 references indexed in Scilit:
- Adaptive plug-and-play components for evolutionary software developmentACM SIGPLAN Notices, 1998
- The 7th Workshop for PhD Students in Object-Oriented SystemsLecture Notes in Computer Science, 1998
- The 8th Workshop for PhD Students in Object-Oriented SystemsLecture Notes in Computer Science, 1998
- Proposal for a monotonic multiple inheritance linearizationACM SIGPLAN Notices, 1994
- Tailorable Systems: Design, Support, Techniques, and ApplicationsDAIMI Report Series, 1994
- Iterative type analysis and extended message splitting; optimizing dynamically-typed object-oriented programsACM SIGPLAN Notices, 1990
- Block structure and object oriented languagesACM SIGPLAN Notices, 1986
- Values and objects in programming languagesACM SIGPLAN Notices, 1982
- On the criteria to be used in decomposing systems into modulesCommunications of the ACM, 1972