Milan Todorović
Create DSL (Domain Specific Language) on top of Swift
#1about 2 minutes
Defining a Domain Specific Language (DSL)
A Domain Specific Language is a high-level programming language optimized to solve problems within a specific business domain.
#2about 2 minutes
Classifying internal vs external DSLs
DSLs can be classified as external (built from scratch with a new compiler) or internal (built on top of a host language like Swift).
#3about 3 minutes
Common examples and best practices for DSLs
Effective DSLs often use English-like syntax for clarity, with common examples including HTML, CSS, SQL, and various markup languages.
#4about 4 minutes
Analyzing SwiftUI as a powerful DSL in Swift
SwiftUI serves as a prime example of a DSL built on Swift, using structures for nouns and modifier methods for verbs to describe user interfaces declaratively.
#5about 4 minutes
Key Swift syntax features for building DSLs
Swift enables powerful DSL creation through key features like result builders, trailing closures, property wrappers, and modifier-style methods.
#6about 7 minutes
Live coding a simple drawing DSL in Xcode
This live coding session demonstrates how to build a simple drawing DSL from scratch using a result builder, protocols, and structures for custom commands.
#7about 4 minutes
Applying DSLs and leveraging the host environment
A DSL allows you to focus on the problem domain while leveraging the host environment's features like version control, debugging, and UI tools.
Related jobs
Jobs that call for the skills explored in this talk.
Dennemeyer Group
Hesperange, Luxembourg
Intermediate
Senior
.NET
Structured Query Language (SQL)
MARKT-PILOT GmbH
Stuttgart, Germany
Remote
€75-90K
Senior
Java
TypeScript
+1
Matching moments
02:49 MIN
Using AI to overcome challenges in systems programming
AI in the Open and in Browsers - Tarek Ziadé
09:00 MIN
Navigating the growing complexity of modern CSS
WeAreDevelopers LIVE – You Don’t Need JavaScript, Modern CSS and More
02:33 MIN
Why you might not need JavaScript for everything
WeAreDevelopers LIVE – You Don’t Need JavaScript, Modern CSS and More
14:14 MIN
Scripting presentations and demos in VS Code
Devs vs. Marketers, COBOL and Copilot, Make Live Coding Easy and more - The Best of LIVE 2025 - Part 3
11:32 MIN
The industry's focus on frameworks over web fundamentals
WeAreDevelopers LIVE – Frontend Inspirations, Web Standards and more
01:32 MIN
Organizing a developer conference for 15,000 attendees
Cat Herding with Lions and Tigers - Christian Heilmann
09:10 MIN
How AI is changing the freelance developer experience
WeAreDevelopers LIVE – AI, Freelancing, Keeping Up with Tech and More
05:12 MIN
How to build structure and culture without killing agility
From Data Keeper to Culture Shaper: The Evolution of HR Across Growth Stages
Featured Partners
Related Videos
Langium: Design your own language in Node.js and VS Code
Irina Artemeva
Langium: Design Your Own Language in Node.js and VS Code
Miro Spönemann
Making Sense of Programming Languages
Aleksandra Sikora
Harnessing Apple Intelligence: Live Coding with Swift for iOS
MIlan Todorović
How to become an AI toolsmith
Clemens Helm
It’s all about the domain, honey ! Experiences from 15 years of Domain-Driven Design
Carola Lilienthal
Dart - a language believed dead, experiences a new bloom
Christoph Menzel
Typed Security: Preventing Vulnerabilities By Design
Michael Koppmann
Related Articles
View all articles



From learning to earning
Jobs that call for the skills explored in this talk.

Code Healers LLC
Hinesville, United States of America
Remote
€30-40K
Intermediate
Senior
.NET
React
JavaScript
+2

Visonum GmbH
Remote
Junior
Intermediate
React
Redux
TypeScript

Code Healers LLC
Hinesville, United States of America
Remote
€20-30K
Junior
Intermediate
React
JavaScript
TypeScript
+1

Sky UK
Brixton, United Kingdom
Remote
React
TypeScript
Continuous Delivery
Continuous Integration
+2

Sky UK
Charing Cross, United Kingdom
Remote
React
TypeScript
Continuous Delivery
Continuous Integration
+2


Digital Luxury Group, DLG
Charing Cross, United Kingdom
Remote
Intermediate
API
Azure
React
Python
+11


DigitalGenius, Inc.
Charing Cross, United Kingdom
Senior
API
GIT
REST
NoSQL
Docker
+5