Python: the full monty
Python: the full monty
复制标题
Python:完整版
DOI:
--
复制
发表时间:
2013
期刊:
影响因子:
--
通讯作者:
S. Krishnamurthi
中科院分区:
文献类型:
--
作者:
J. Politz;Alejandro Martinez;Mae Milano;Sumner Warren;Daniel Patterson;Junsong Li;Anand Chitipothu;S. Krishnamurthi
We present a small-step operational semantics for the Python programming language. We present both a core language for Python, suitable for tools and proofs, and a translation process for converting Python source to this core. We have tested the composition of translation and evaluation of the core for conformance with the primary Python implementation, thereby giving confidence in the fidelity of the semantics. We briefly report on the engineering of these components. Finally, we examine subtle aspects of the language, identifying scope as a pervasive concern that even impacts features that might be considered orthogonal.