A Faithful Description of ECMAScript Algorithms

Adam Khayam, Louis Noizet, Alan Schmitt · 2022

We present an ongoing formalization of algorithms of ECMAScript, the specification describing the semantics of JavaScript, in a tiny functional meta-language. We show that this formalization is concise, readable, maintainable, and textually close to the specification. We extract an OCaml interpreter from our description and run small JavaScript programs whose semantics is based on these algorithms.

Read the paper · More papers on PaperTik