A tested semantics for getters, setters, and eval in JavaScript

A tested semantics for getters, setters, and eval in JavaScript
复制标题

JavaScript 中经过测试的 getter、setter 和 eval 语义

DOI:
10.1145/2384577.2384579
复制
发表时间:
2012
期刊:
Proceedings of the 8th symposium on Dynamic languages
影响因子:
--
通讯作者:
S. Krishnamurthi
S. Krishnamurthi
中科院分区:
--
文献类型:
--
作者:
J. Politz;Matthew J. Carroll;Benjamin S. Lerner;Justin Pombrio;S. Krishnamurthi

文献摘要

被引文献

相似文献

我们提出S5,这是Ecmascript 5.1(JavaScript)编程语言的严格模式的语义。 S5通过实现的转换将大型源语言缩小到可管理的核心。结果规范已针对该语言的现实世界一致性套件进行了测试。本文重点介绍了S5的两个方面:登录器(Getters and Setters)和评估。由于这些功能在JavaScript中是复杂而微妙的,因此它们值得特别研究。在其他几种编程语言中都发现了这两个功能的变化,因此他们的研究可能具有广泛的适用性。
We present S5, a semantics for the strict mode of the ECMAScript 5.1 (JavaScript) programming language. S5 shrinks the large source language into a manageable core through an implemented transformation. The resulting specification has been tested against real-world conformance suites for the language. This paper focuses on two aspects of S5: accessors (getters and setters) and eval. Since these features are complex and subtle in JavaScript, they warrant special study. Variations on both features are found in several other programming languages, so their study is likely to have broad applicability.