pith. sign in

arxiv: 1510.00925 · v1 · pith:OVG4WVINnew · submitted 2015-10-04 · 💻 cs.PL

The Essence of JavaScript

classification 💻 cs.PL
keywords javascriptcorecalculuslanguagedefiningdemonstratedesugaringessence
0
0 comments X
read the original 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.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.