期刊文献+

子类型的指称语义 被引量:1

The Denotational Semantics of Subtyping
下载PDF
导出
摘要 继承被认为是面向对象程序设计的重要特征之一,如何解释继承一直是面向对象形式语义研究的难题.本文针对继承关系的一种形式一一对象间行为规范的继承,即子类型关系,探讨了其指称语义.基本思想是将子类型关系视为类型强制,通过类型强制函数将子类型对象解释父类型域中. Inheritance is one of the important features of object oriented programming.The explanation of inheritance is always a challenge to the research on formal semantics of object oriented program.In this paper,the denotational semantics of subtyping,a kind of forms of inheritance which describes the inheritance relationship between behavioral specifications of objects,is presented.The basic idea is to view subtyping as type coercion,explaining the objects of subtype into the domain of its supertype by a type coercion function.
出处 《电子学报》 EI CAS CSCD 北大核心 1999年第8期46-48,共3页 Acta Electronica Sinica
基金 国家教委博士点基金 南京大学计算机软件重点实验室基金
关键词 面向对象 指称语义 子类型 类型强制 程序设计 Object orientation,Denotational sementics,Subtype,Type coercion
  • 相关文献

参考文献1

二级参考文献1

  • 1梅宏,博士学位论文,1992年

共引文献1

同被引文献50

  • 1梅宏,孙永强.函数式面向对象语言FOPL的指称语义[J].计算机学报,1994,17(7):513-520. 被引量:1
  • 2徐殿祥,郑国梁.对象式逻辑程序设计语言LKO的说明性语义[J].计算机学报,1996,19(11):841-847. 被引量:2
  • 3HENNESSY M.The semantics of programming languages:an elementary introduction using structural operational semantics[M].New York:John Wiley & Sons,1990.
  • 4CRAZZOLARA F.Language,semantics and methods for security Protocols[D].Denmark:University of Aarhus,2003.
  • 5ADI K.Formal specification and analysis of security protocols[D].Canada:University of Laval,2002.
  • 6MOSSES P D.Action semantics[M].Cambridge:Cambridge University Press,1992.
  • 7NIELSON H R,NIELSON F.Semantics with applications:a formal introduction[M].Chichester:John Wiley & Sons,1992.
  • 8MOSSES P D.Semantics,modularity,and rewriting logic[C]//KIRCHNER C,KIRCHNER H.2nd International Workshop on Rewriting Logic and its Applications,ENTCS 15,Netherlands,Elesvier,1998.
  • 9MOSSES P D.The varieties of programming language semantics and their uses[J].LNCS,2001,2244:165-190.
  • 10TENNENT R D.The denotational semantics of programming languages[J].Communications of the ACM,1976,19 (8):437 -453

引证文献1

二级引证文献4

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部