作者: Gavin Bierman , Alisdair Wren
DOI: 10.1007/11531142_12
关键词: Operational semantics 、 Java 、 Computer science 、 Fragment (logic) 、 Object-oriented programming 、 Software development 、 Inheritance (object-oriented programming) 、 First class 、 Type theory 、 Programming language
摘要: In this paper we investigate the addition of first-class relationships to a prototypical object-oriented programming language (a “middleweight” fragment Java). We provide language-level constructs declare between classes and manipulate relationship instances. allow have attributes novel notion inheritance. formalize our giving both type system operational semantics prove certain key safety properties.