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.
Matching moments
04:22 MIN
Why you should create a domain-specific language
Langium: Design Your Own Language in Node.js and VS Code
01:59 MIN
Understanding domain-specific languages and their use cases
Langium: Design your own language in Node.js and VS Code
02:29 MIN
Key principles for designing an effective DSL
Langium: Design your own language in Node.js and VS Code
03:16 MIN
The business benefits of creating a custom DSL
Langium: Design your own language in Node.js and VS Code
04:35 MIN
Understanding the benefits of domain-specific languages
How to become an AI toolsmith
07:49 MIN
Create a domain-specific language for readable tests
TDD for Vue.js Developers
02:46 MIN
A four-step recipe for building your own DSL
How to become an AI toolsmith
05:36 MIN
Improving usability with a DSL and factory methods
Building a Friendly Kotlin SDK to Connect to JetBrains Space
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
Dart - a language believed dead, experiences a new bloom
Christoph Menzel
Intermediate Bitcoin Script
Steve Shadders
Mobile at a Crossroads: The Declarative UI App Revolution
Peter Steinberger
Related Articles
View all articles



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







Speech Processing Solutions
Vienna, Austria
Intermediate
CSS
HTML
JavaScript
TypeScript


DL Remote
Stuttgart, Germany
Remote
€90K
Senior
Kotlin
TypeScript
AWS Lambda
+1