计算机科学 > 程序设计语言
[提交于 2000年5月31日]
标题:Multimethods and separate static typechecking in a language with C++-like object model
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:The goal of this paper is the description and analysis of multimethod implementation in a new object-oriented, class-based programming language called OOLANG. The implementation of the multimethod typecheck and selection, deeply analyzed in the paper, is performed in two phases in order to allow static typechecking and separate compilation of modules. The first phase is performed at compile time, while the second is executed at link time and does not require the modules' source code. OOLANG has syntax similar to C++; the main differences are the absence of pointers and the realization of polymorphism through subsumption. It adopts the C++ object model and supports multiple inheritance as well as virtual base classes. For this reason, it has been necessary to define techniques for realigning argument and return value addresses when performing multimethod invocations.
提交历史
来自:Emanuele Panizzi[v1] 2000年5月31日 星期三 07:54:30 UTC