PRIVATE STATE IN OBJECT-ORIENTED PROGRAMMING LANGUAGES

Benyah Shaparenko, John Hannan

msra

引用 23|浏览14
暂无评分
摘要
We develop a core object-oriented programming language named SimpleJ that implements private state for all private elds in objects. We lay out a type system and operational semantics for the data typing and accessibility (assurance of private state) information. The type system statically analyzes the code to produce type and accessibility information, which describes the behavior of the runtime system as laid out in the operational semantics. We provide arguments for type correctness in SimpleJ, and that the static information produced by the type system does indeed accurately describes runtime qualities of the runtime system. The primary purpose of the accessibility requirements are to ensure that references to private elds in objects cannot escape to outside the object.
更多
查看译文
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要