期刊文献+

A graph-based generic type system for object-oriented programs 被引量:1

A graph-based generic type system for object-oriented programs
原文传递
导出
摘要 We present a graph-based model 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, instantia- tion graphs and conjunction graphs that naturally iIlustrate 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 de- fines graph-based relations and operations on types including equivalence, subtyping, conjunction and instantiation. Algo- rithms based on the graph structures are designed for the im- plementation 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-based model 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, instantia- tion graphs and conjunction graphs that naturally iIlustrate 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 de- fines graph-based relations and operations on types including equivalence, subtyping, conjunction and instantiation. Algo- rithms based on the graph structures are designed for the im- plementation 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.
出处 《Frontiers of Computer Science》 SCIE EI CSCD 2013年第1期109-134,共26页 中国计算机科学前沿(英文版)
关键词 OO programs type systems GENERICS type graphs recursive types OO programs, type systems, generics, type graphs, recursive types
  • 相关文献

参考文献1

二级参考文献51

  • 1Dijkstra E W. The humble programmer[J].Communications of the ACM,1972,(10):859-866,ACMTaringAwardlecture.
  • 2Brooks Jr F P. No silver bullet:Essence and accidents of software engineering[J].IEEE Transaction on Computer,1987,(04):10-19.
  • 3Booch G. Object-Oriented Analysis and Design with Applications[M].Boston:Addison-Wesley,1994.
  • 4Brooks Jr F P. The mythical man-month:After 20 years[J].IEEE Software,1995,(05):57-60.
  • 5Holzmann G J. Conquering complexity[J].IEEE Transaction on Computer,2007,(12):111-113.doi:10.1109/MC.2007.419.
  • 6Wirsing M,Ban(a)tre J P,H(o)lzl M,Rauschmayer A. Software-Intensive Systems and New Computing Paradigms Challenges and Visions[A].2008.5380.
  • 7Peter L. The Peter Pyramid[M].New York:William Morrow,1986.
  • 8Leveson N G,Turner C S. An investigation of the Therac-25 accidents[J].IEEE Transaction on Computer,1993,(07):18-41.doi:10.1109/MC.1993.274940.
  • 9Robinson K. Ariane 5:Flight 501 failure-A case study[OL].http://www.csc.unsw.edu.au/~se4921/PDF/ariane5-article.pdf,2011.
  • 10Johnson J. My Life Is Failure:100 Things You Should Know to Be a Better Project Leader[M].West Yarmouth:Standish Group International,2006.

共引文献3

同被引文献1

引证文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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