Explore AST meta-programming techniques in Swift through this 27-minute conference talk from try! Swift Tokyo 2018. Dive into code injection and aspect-oriented programming using Abstract Syntax Trees (AST) with iOS/macOS developer Katsumi Kishikawa. Learn about SauceKit, practical examples, and automation techniques. Discover how to leverage AST for diagrammed assertions, AST dumping, and online playground experimentation. Gain insights into enhancing Swift's dynamic behavior at runtime and expanding your iOS development toolkit.
Overview
Syllabus
Intro
What is AST
AST
Metaprogramming
SauceKit
Demo
Practical Example
Automation
Demonstration
Diagrammed assertions
Dump AST
Online Playground
Wrap up
Taught by
try! Swift Conference