Skip to content
0:00 / 0:00

#ast#parser#babel

EmberConf 2016: How to Build a Compiler by James Kyle

Ember Videos

2.2K subscribers • 1 video on Hallway

YouTube
  • Recommended by 2 people: 2 in engineering communities.
  • Presented by James Kyle

Beginner. No background in the topic needed.

34K views10 years ago2 recommendations

Systems programmingProgramming languagesCompilers and interpretersJavaScript

James Kyle demystifies compilers by walking through parsing, traversal, and code generation using simple examples.

How to Build a Compiler by James Kyle Compilers are all around you: Babel, Handlebars/HTMLBars, Glimmer, Uglify, and more. In this talk we'll walk through every part of a compiler from the parser to the generator. Learn about visitors and traversal, paths, scopes, bindings, and everything else. By the end compilers shouldn't seem like magic, and maybe you'll even want to contribute back to them.

Why it's here

2 people recommend this

What people say. Recommended as an exceptionally gentle and accessible introduction to compiler design for beginners.

u/H4UL4in r/Compilers • Recommends

Writing a simple compiler for beginners

u/The_Northern_Lightin r/ProgrammingLanguages • Recommends

On “Resources to create a programming language for a complete beginner”

EmberConf 2016: How to Build a Compiler by James Kyle Builds a simple interpreter in 250 lines of python in half an hour. I've yet to see a more gentle introduction.