Design and Implementation of Primitive and Struct Type for the TypeScript Compiler


Yanxing Wang

Oral Defence Date: 

Friday, January 8, 2016 - 13:30


TH 434


Profs. Arno Puder and James Wong


The growth of the Web has been explosive. As the most important component of the front-end technology stack, JavaScript has always been playing a significant role in adding dynamic behavior to web pages. It is easy, fast and extendable. However, JavaScript also has its drawbacks, for instance, no static type checking. TypeScript is a strict superset of JavaScript invented by Microsoft. It brings a complete static type checking mechanism and modern object-oriented syntax features. This project extends the TypeScript compiler and provides more strict and specific primitive types and new Struct syntax. The main goal is to enhance type safety as well as generate more efficient code.

Yanxing Wang

JavaScript, TypeScript, compiler, primitive types, struct type, asm.js, Typed Objects