English

The Essence of JavaScript

Programming Languages 2015-10-06 v1

Abstract

We reduce JavaScript to a core calculus structured as a small-step operational semantics. We present several peculiarities of the language and show that our calculus models them. We explicate the desugaring process that turns JavaScript programs into ones in the core. We demonstrate faithfulness to JavaScript using real-world test suites. Finally, we illustrate utility by defining a security property, implementing it as a type system on the core, and extending it to the full language.

Keywords

Cite

@article{arxiv.1510.00925,
  title  = {The Essence of JavaScript},
  author = {Arjun Guha and Claudiu Saftoiu and Shriram Krishnamurthi},
  journal= {arXiv preprint arXiv:1510.00925},
  year   = {2015}
}

Comments

European Conference on Object-Oriented Programming (ECOOP) 2010

R2 v1 2026-06-22T11:12:18.683Z