What is Traceur Compiler?

Member

oda.tromp

by oda.tromp , in category: Technology , 2 months ago

What is Traceur Compiler?

Facebook Twitter LinkedIn Telegram Whatsapp

1 answer

Member

by dejon , 2 months ago

Traceur is a compiler which takes ECMAScript and compiles it down to regular Javascript that runs in your browser. Traceur can be used in several ways like- typing or pasting the ES6 code into the read-eval-print-loop page, or by including traceur in the web page and compiling ES6 code content on the fly, or many other ways. Even traceur is written in ES6, compiled to ES5. The main goal of a traceur compiler is to inform the designs of Javascript features and allows us to write the code in a better manner. Nowadays, traceur compilers are broadly used in Angular 2 platform. It also supports transpilling and type checking via type annotations.