A DENOTATIONAL APPROACH FOR TYPE-CHECKING IN OBJECT-ORIENTED PROGRAMMING-LANGUAGES

被引:1
|
作者
IERUSALIMSCHY, R
机构
[1] Departamento de Informática, Pontificia Universidade Católica
来源
COMPUTER LANGUAGES | 1993年 / 19卷 / 01期
关键词
SEMANTICS OF PROGRAMMING LANGUAGES; TYPE SYSTEMS; OBJECT ORIENTED PROGRAMMING;
D O I
10.1016/0096-0551(93)90037-2
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Starting with a pragmatical (but formal) definition of type in object-oriented languages, this paper proposes a method to test type safety in this kind of language. We say that a language is (type) safe if it ensures that, during the execution of a correct program, every message sent to an object is matched by an appropriate method. We define a ''typical'' object oriented programming language, featuring multiple inheritance, recursive types, and separation between specifications and implementations. Then, we give a formal definition for its type system, and a denotational semantics for the execution of the language, based on message passing. Finally, we formally prove that our language is type safe. Along the progress of the work, better understanding is gained about many problems related with type systems in object-oriented languages.
引用
收藏
页码:19 / 40
页数:22
相关论文
共 50 条
  • [21] On type systems for object-oriented database programming languages
    Leontiev, Y
    Özsu, MTR
    Szafron, D
    ACM COMPUTING SURVEYS, 2002, 34 (04) : 409 - 449
  • [22] BINDING AND TYPE CHECKING IN DATABASE PROGRAMMING-LANGUAGES
    ATKINSON, M
    BUNEMAN, P
    MORRISON, R
    COMPUTER JOURNAL, 1988, 31 (02): : 99 - 109
  • [23] A denotational semantics for joining description logics and object-oriented programming
    Schacht, S
    Hahn, U
    SIXTH SCANDINAVIAN CONFERENCE ON ARTIFICIAL INTELLIGENCE, 1997, 40 : 119 - 130
  • [24] Object-oriented programming as the end of history in programming languages
    vanEmden, MH
    1997 IEEE PACIFIC RIM CONFERENCE ON COMMUNICATIONS, COMPUTERS AND SIGNAL PROCESSING, VOLS 1 AND 2: PACRIM 10 YEARS - 1987-1997, 1997, : 981 - 984
  • [25] Current research on object-oriented programming languages
    Mei, Hong
    Wang, Lifu
    Yang, Fuqing
    Tien Tzu Hsueh Pao/Acta Electronica Sinica, 1995, 23 (10): : 50 - 56
  • [26] Object-oriented concurrent programming languages and systems
    Tripathi, A
    Van Oosten, J
    Miller, R
    JOURNAL OF OBJECT-ORIENTED PROGRAMMING, 1999, 12 (07): : 22 - +
  • [27] OBJECT-ORIENTED LANGUAGES, A NEW STYLE OF PROGRAMMING
    COINTE, P
    RECHERCHE, 1986, 17 (183): : 1564 - 1567
  • [28] Object-oriented concurrent programming languages and systems
    Tripathi, Anand
    Van, Oosten, James
    Miller, Robert
    JOOP - Journal of Object-Oriented Programming, 12 (07): : 22 - 55
  • [29] OBJECT-ORIENTED LANGUAGES REORIENT PROGRAMMING TECHNIQUES
    WILSON, R
    COMPUTER DESIGN, 1987, 26 (20): : 52 - &
  • [30] Semi-strong static type checking of object-oriented query languages
    Lentner, M
    Stencel, K
    Subieta, K
    SOFSEM 2006: THEORY AND PRACTICE OF COMPUTER SCIENCE, PROCEEDINGS, 2006, 3831 : 399 - 408