JavaScript Compilers For Fun and Profit
summary
Demonstrates real results not promises: a tiny lexer/parser/interpreter/compiler each under 140 characters that turns prefix expressions into runnable JavaScript, a language called objective J compiled to JS (moved from on‑the‑fly compile to precompiled deploy because compiling a ~1MB framework once took 45 seconds), an instrumenting debugger called zbug that works across JS hosts by blocking with prompt or sync XHR and implements the V8 debugger API, and integrations with Closure Compiler, Uglify, Tracer and Narcissus.
AI-written summary · about
chapters (15)
- 0:00Start
- 0:59Kinds of Compilers
- 3:29Tokenizer
- 7:48Closure Compiler
- 8:42Alternative Languages
- 11:19Concurrency
- 12:08Security
- 14:24Parser Generator
- 15:32Type of Parser Generator
- 16:32Instrument Javascript
- 17:26Code Coverage
- 17:55Runtime Type Checking
- 19:56Webkit Inspector
- 25:09Questions
- 30:38Node Inspector
related talks
27mParsing, Compiling, and Static Metaprogramming
25mJavaScript engines how do they even?
32mBuilding a High Performance JavaScript Compiler
28mHow to Build a Compiler
27mCompile Like It's 2017
35mAshley Williams - SeattleJS Conference 2017
31mJavaScript Compilation Techniques or "Wasn't JavaScript supposed to be slow?"
26mMake Your Own Programming Language!
