Function Builders: Creating a DSL for HTML
In this talk, I’m going to explain how easy it is to build a Domain Specific Language in Swift using function builders recently introduced by Apple. The DSL presented can generate an HTML markup and can be used to create HTML pages á-la SwiftUI. First, I’m going to explain the theory behind function builders and why they were introduced. Then – using actual code – I will show how we can create the DSL together with a working example implementation.