Master's Thesis

A Reference Implementation of ES6 Built-in Libraries

Jorge Pedreira Cardoso Brown — 2022

Key information

Authors:

Jorge Pedreira Cardoso Brown (Jorge Pedreira Cardoso Brown)

Supervisors:

José Faustino Fragoso Femenin dos Santos (José Faustino Fragoso Femenin dos Santos)

Published in

November 23, 2022

Abstract

JavaScript is the de facto language for implementing client side Web applications. It is specified in the ECMAScript standard, a long and complex document written in English that is updated with every new iteration of the language. Despite its popularity, JavaScript is not always coherent and understandable semantically, and its dynamic paradigm makes it hard to statically analyse. ECMAScript reference interpreters are artifacts produced to reason about the language in a controlled environment. To this end, we will leverage the ECMA-SL project, a research effort at IST whose goal is to build an executable version of the standard. Currently, the ECMA-SL project comes with an interpreter, ECMARef5, for the 5th version of the standard, which is now at its 12th version. We plan to assist with the transition of ECMARef5 to the 6th version of the standard, by aiding in the implementation effort of the built-in libraries of the ECMAScript 6 Standard. Alongside other strategies employed in the ECMA-SL project, to guarantee the quality of our implementation we test it against Test262, the official ECMAScript conformance test suite.

Publication details

Authors in the community:

Supervisors of this institution:

Fields of Science and Technology (FOS)

electrical-engineering-electronic-engineering-information-engineering - Electrical engineering, electronic engineering, information engineering

Publication language (ISO code)

eng - English

Rights type:

Embargo lifted

Date available:

October 7, 2023

Institution name

Instituto Superior Técnico