CE-16.01

Title: 

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

Author(s): 

Yanxing Wang

Oral Defence Date: 

01/08/2016

Location: 

TH 434

Committee: 

Profs. Arno Puder and James Wong

Abstract: 

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.

Keywords: 

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

Copyright: 

Yanxing Wang