Method and system for deriving metaclasses in an object oriented system
This invention generally relates to improvements in object oriented applications. More particularly, it relates to deriving a metaclass for a new class defined by subclassing in an object oriented system. A system, method, and program for deriving metaclasses of classes of objects defined according...
Gespeichert in:
1. Verfasser: | |
---|---|
Format: | Patent |
Sprache: | eng |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | This invention generally relates to improvements in object oriented applications. More particularly, it relates to deriving a metaclass for a new class defined by subclassing in an object oriented system.
A system, method, and program for deriving metaclasses of classes of objects defined according to traditional subclassing inheritance is disclosed, which uses a neutral set of information from which object support is enabled for any target language, including support between languages. The information defining a new class is parsed and compiled to generate a bindings file that is input along with method information to the target language compiler to create an object file. The object file is thereafter link edited to create an executable program. When this program is executed, each defined class of objects is implemented by a corresponding object, called a class object, whose parents are determined by its definition, and whose class is a metaclass that is automatically derived and created at runtime according to the parent classes of the class object. |
---|