Objects and classes in Algol-like languages

被引:10
|
作者
Reddy, US [1 ]
机构
[1] Univ Illinois, Urbana, IL 61801 USA
基金
美国国家科学基金会;
关键词
Algol-like languages; Object-oriented programming; Relational parametricity; Semantics; Specification logic;
D O I
10.1006/inco.2001.2927
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Many object-oriented languages used in practice descend from Algol. With this motivation, we study the theoretical issues underlying such languages via the theory of Algol-like languages. It is shown that the basic framework of this theory extends cleanly and elegantly to the concepts of objects and classes. Moreover, a clear correspondence emerges between classes and abstract data types, whose theory corresponds to that of existential types. Equational and Hoare-like reasoning methods and relational parametricity provide powerful formal tools for reasoning about Algol-like object-oriented programs. (C) 2002 Elsevier Science.
引用
收藏
页码:63 / 97
页数:35
相关论文
共 50 条