Institutional Repository
| A graph-based generic type system for object-oriented programs | |
| Ke, Wei; Liu, Zhiming; Wang, Shuling; Zhao, Liang | |
| 2013 | |
| 发表期刊 | FRONTIERS OF COMPUTER SCIENCE
![]() |
| ISSN | 2095-2228 |
| 卷号 | 7期号:1页码:109-134 |
| 摘要 | 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.; 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. |
| 收录类别 | SCI |
| 关键词 | Oo Programs Type Systems Generics Type Graphs Recursive Types |
| 部门归属 | [Ke, Wei] Macao Polytech Inst, Macao, Peoples R China. [Liu, Zhiming; Zhao, Liang] United Nations Univ, Int Inst Software Technol, Macao, Peoples R China. [Wang, Shuling] Chinese Acad Sci, Inst Software, Beijing 100190, Peoples R China. |
| 语种 | 英语 |
| WOS记录号 | WOS:000316261500009 |
| 引用统计 | |
| 内容类型 | 期刊论文 |
| URI标识 | http://ir.iscas.ac.cn/handle/311060/16947 |
| 专题 | 中国科学院软件研究所 |
| 推荐引用方式 GB/T 7714 | Ke, Wei,Liu, Zhiming,Wang, Shuling,et al. A graph-based generic type system for object-oriented programs[J]. FRONTIERS OF COMPUTER SCIENCE,2013,7(1):109-134. |
| APA | Ke, Wei,Liu, Zhiming,Wang, Shuling,&Zhao, Liang.(2013).A graph-based generic type system for object-oriented programs.FRONTIERS OF COMPUTER SCIENCE,7(1),109-134. |
| MLA | Ke, Wei,et al."A graph-based generic type system for object-oriented programs".FRONTIERS OF COMPUTER SCIENCE 7.1(2013):109-134. |
| 条目包含的文件 | 条目无相关文件。 | |||||
除非特别说明,本系统中所有内容都受版权保护,并保留所有权利。
修改评论