arrow
返回

A graph-based generic type system for object-oriented programs

delete2013-01-09
delete5
PRE
AI
W
Wenyan Ke
Z
Zhiming Liu
王树林 封面图
王树林 (Shuling Wang)
L
Liang Zhao *
DOI:10.1007/s11704-012-1307-8delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
We present a graph-basedmodel of a generic type system for an OO language. The type system supports the features of recursive types, generics and interfaces, which are commonly found in modern OO languages such as Java. In the classical graph theory, we define type graphs, instantiation graphs and conjunction graphs that naturally illustrate the relations among types, generics and interfaces within complex OO programs. The model employs a combination of nominal and anonymous nodes to represent respectively types that are identified by names and structures, and defines graph-based relations and operations on types including equivalence, subtyping, conjunction and instantiation. Algorithms based on the graph structures are designed for the implementation of the type system. We believe that this type system is important for the development of a graph-based logical foundation of a formal method for verification of and reasoning about OO programs.
Keyword:
OO programs
type systems
generics
type graphs
recursive types

期刊

Frontiers of Computer Science 封面图
Frontiers of Computer Science
IF:
4.6
论文数:
1.6K
被引数:
2.8K

机构

I
institute of software, cas
学者数:
445
论文数: 387
被引数: 0
M
Macao Polytechnic University
学者数:
1.6K
论文数: 1.5K
被引数: 805
C
chinese academy of sciences
学者数:
56.7W
论文数: 45.0W
被引数: 704
学者 查看更多机构
引用论文

引用论文

rCOS: a formal model-driven engineering method for component-based software
err2012-01-27
err12
PREAI
errKe, Wei; Li, Xiaoshan; Liu, Zhiming; Stolz, Volker
err分享
err收藏
Evolution of raw meat polarization‐based properties by means of Mueller matrix imaging
err2020-12-28
err0
errOAAI
errMotahareh Peyvasteh; Alexey Popov; Alexander Bykov; Angelo Pierangelo; Tatiana Novikova; Igor Meglinski
err分享
err收藏
Selection and ranking of ground motion models for seismic hazard analysis in the Pyrenees
err2007-01-27
err0
errOAAI
errStéphane Drouet; Frank Scherbaum; Fabrice Cotton; Annie Souriau
err分享
err收藏
没有更多内容