arrow
Return

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

delete2013-01-09
delete5
PRE
AI
W
Wenyan Ke
Z
Zhiming Liu
S
Shuling Wang
L
Liang Zhao *
DOI:10.1007/s11704-012-1307-8delete
deleteOriginal
deleteShare
deleteSave
Abstract

Abstract

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.
Keywords:
OO programs
type systems
generics
type graphs
recursive types
errShare
errSave
errShare
errSave
Rule-based program specialization to optimize gradually typed code
err2019-09-01
err5
errOAAI
errOrtin, Francisco; Garcia, Miguel; McSweeney, Sean
errShare
errSave
A New Approach for Computable Generalized Type-3 Fuzzy Systems
err2025-08-11
err0
PREAI
errEmanuel Ontiveros; Patricia Melin; Oscar Castillo
errShare
errSave
Graph grammars according to the type of input and manipulated data: A survey
err2018-05-01
err2
PREAI
errAlbane, Saadia; Slimani, Hachem; Kheddouci, Hamamache
errShare
errSave

Journal

Frontiers of Computer Science cover
Frontiers of Computer Science
IF:
4.6
Papers:
1.6K
Citations:
3.9K

Organization

I
institute of software, cas
Scholars:
446
Papers: 388
Citations: 467
M
Macao Polytechnic University
Scholars:
395
Papers: 191
Citations: 672
C
Chinese Academy of Sciences
Scholars:
3.2W
Papers: 8.9K
Citations: 39.2W
researcher View more organizations
Cited Papers

Cited Papers

rCOS: a formal model-driven engineering method for component-based software
err2012-01-27
err12
PREAI
errKe, Wei; Li, Xiaoshan; Liu, Zhiming; Stolz, Volker
errShare
errSave
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
errShare
errSave
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
errShare
errSave
no more