The future of JS ans You
summary
Tracer is a JavaScript‑to‑JavaScript compiler written in JavaScript that takes proposed Harmony features and emits ES5 that runs in browsers or Node (it has a Node batch mode). It actually rewrites rest parameters into Array.prototype.slice calls and turns async/await‑style code into a generated state machine (CPS) with larger sometimes dead‑code output. Demos compile and run; the compiler is usable for prototyping but has an implicit expiration date once the engine natively implements the features.
AI-written summary · about
chapters (10)
- 0:00Introduction
- 2:51Harmony
- 7:55What is a compiler
- 9:48Lexing
- 11:05Building a tree
- 12:45Parts of function
- 14:13Transformers
- 16:04Output
- 17:40Callback
- 18:56Promise Pattern
related talks
37mThe JavaScript of tomorrow, today
31mJavaScript Compilers For Fun and Profit
30mThe future of Javascript
30mES6 in Angular 2.0
27mJavascript at 20
01h 02mWant es.next Now? Traceur Your Way Back to ES5 and Feel the Harmony
24mmö.js - explaining js vm in js
25mBack to the future of JS II: Beyond what we can foresee
