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
00:51 MIN
Why you should create a domain-specific language
Langium: Design Your Own Language in Node.js and VS Code
19:13 MIN
Understanding the benefits of domain-specific languages
How to become an AI toolsmith
23:48 MIN
A four-step recipe for building your own DSL
How to become an AI toolsmith
00:04 MIN
The value of understanding language internals
Making Sense of Programming Languages
05:13 MIN
Fundamental principles of language design
Langium: Design Your Own Language in Node.js and VS Code
10:42 MIN
Creating a domain-specific language for React components
How to become an AI toolsmith
11:34 MIN
Live coding an on-device LLM app with Swift
Harnessing Apple Intelligence: Live Coding with Swift for iOS
00:03 MIN
Understanding domain-specific languages and their use cases
Langium: Design your own language in Node.js and VS Code
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
From learning to earning
Jobs that call for the skills explored in this talk.

Domain Architect Ricardo Platform (f/m/d) | 80-100% | Hybrid working model | Valbonne France
SMG Swiss Marketplace Group
Canton de Valbonne, France
Senior

Domain Architect Ricardo Platform (f/m/d) | 80-100% | Hybrid working model | Zürich Switzerland
SMG Swiss Marketplace Group
Sachseln, Switzerland
Senior







AIML -Machine Learning Research, DMLI
Apple
Python
PyTorch
TensorFlow
Machine Learning
Natural Language Processing