SCOOP编程模型的综合操作语义
A comprehensive operational semantics of the SCOOP programming model
摘要:
操作语义作为一种灵活但严格的方法来描述程序设计语言的含义。通常,感觉有必要保持语义小,例如通过避免状态空间爆炸来促进其用于模型检验。然而,在语义中省略许多细节通常会使结果仅对有限的核心语言有效,从而与任何实际实现留下很大的差距。在本文中,我们提出了一个完整的语义并发面向对象的程序设计语言SCOOP(简单并发面向对象编程)。语义已被发现足够详细的SCOOP编译器和运行时系统的实现,并检测和纠正各种错误和歧义,在原来的非正式规范和原型实现。在我们的形式化规范中,我们使用带有前提和公理的抽象数据类型来描述状态,并引入了一些特殊的运行时操作来用我们的推理规则来建模运行时系统。这种方法使我们能够使我们的大型正式规范管理,提供了第一步的参考文件指定面向对象的语言的基础上操作语义。
英文摘要:
Operational semantics has established itself as a flexible but rigorous means to describe the meaning of programming languages. Oftentimes, it is felt necessary to keep a semantics small, for example to facilitate its use for model checking by avoiding state space explosion. However, omitting many details in a semantics typically makes results valid for a limited core language only, leaving a wide gap towards any real implementation. In this paper we present a full-fledged semantics of the concurrent object-oriented programming language SCOOP (Simple Concurrent Object-Oriented Programming). The semantics has been found detailed enough to guide an implementation of the SCOOP compiler and runtime system, and to detect and correct a variety of errors and ambiguities in the original informal specification and prototype implementation. In our formal specification, we use abstract data types with preconditions and axioms to describe the state, and introduce a number of special run-time operations to model the runtime system with our inference rules. This approach allows us to make our large formal specification manageable, providing a first step towards reference documents for specifying object-oriented languages based on operational semantics.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。