Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Building a Tiny Compiler

try! Swift Conference via YouTube

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

Reviews

Start your review of Building a Tiny Compiler

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.