Overview
Explore the intricacies of compiler construction in this 24-minute conference talk from try! Swift NYC 2016. Dive into the world of compilers as Samuel Giddins, a core contributor to CocoaPods and iOS developer at Realm, builds a tiny compiler for a custom language from scratch. Gain insights into parsing, lexing, and code generation, with a focus on how Swift can elegantly solve complex problems in compiler design. Follow along as Giddins demonstrates the implementation of a new programming language, covering topics such as functional programming, semantic analysis, and code generation. Access the complete source code on GitHub to deepen your understanding of compiler construction and Swift programming techniques.
Syllabus
Intro
Why write a compiler
What is a compiler
How to write a compiler
Functional programming
Semantic analysis
Code generation
Taught by
try! Swift Conference