Bernhard Reus: Modular Semantics and Logics of Classes | ||||||||||||||||
|
In this paper we improve standard class-based semantics to obtain compositionality and modular reasoning principles for a logic of classes. The domain theoretic reasoning principle that drives this logic is fixpoint induction. Modularity is obtained by endowing the denotations of classes with an additional parameter that accounts for those classes added ``later at linkage time''. A mutual fixpoint establishes the link between old classes and new class. One major advantage is that the method suites of classes can be kept separate from the heap that contains the objects' fields, avoiding the complications of higher-order store inherent in object-based languages. Local class definitions (inner classes) are possible but on-the-fly class-loading needs more advanced techniques.
|