一种可执行的Python结构操作形式语义
An Executable Structural Operational Formal Semantics for Python
摘要:
Python是一种流行的高级通用程序设计语言,也被科学界大量使用。它支持各种不同的编程范例,并因其易用性而受到许多人的青睐。为了收获像Python抽象解释这样的静态分析技术,我们为Python开发了一个形式化的语义。形式化语义是任何可靠的静态分析技术的重要基石。我们的工作基础上的一般框架的结构操作语义产生一个小步骤的语义原则上允许与环境的并发性和交互。这篇论文的主要贡献是两方面的:首先,我们开发了一个元理论框架的形式化结构操作语义与必要的工具支持的解释器的自动化派生,从这样的正式语义,第二,我们验证了这种方法的适用性的形式化现代程序设计语言开发的语义Python。
英文摘要:
Python is a popular high-level general-purpose programming language also heavily used by the scientific community. It supports a variety of different programming paradigms and is preferred by many for its ease of use. With the vision of harvesting static analysis techniques like abstract interpretation for Python, we develop a formal semantics for Python. A formal semantics is an important cornerstone for any sound static analysis technique. We base our efforts on the general framework of structural operational semantics yielding a small-step semantics in principle allowing for concurrency and interaction with an environment. The main contributions of this thesis are twofold: first, we develop a meta-theoretic framework for the formalization of structural operational semantics in tandem with the necessary tool support for the automated derivation of interpreters from such formal semantics, and, second, we validate the suitability of this approach for the formalization of modern programming languages developing a semantics for Python.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。