World Congress 2023 Sep 27, 2023

Create DSL (Domain Specific Language) on top of Swift

Milan Todorović

Why build a custom compiler from scratch when you can leverage Swift? Discover how native result builders let you craft elegant, declarative DSLs for complex business logic.

Pause
Mute Enter Fullscreen
#1 about 3 min

Understanding domain specific languages in software development

A domain specific language operates at a high level of abstraction to optimize solutions for highly targeted problem spaces.

#2 about 2 min

Classifying domain specific languages as external or internal

Developers can create new syntax from scratch or utilize an existing host language to build internal solutions.

#3 about 2 min

Choosing domain specific languages over artificial intelligence models

While large language models generate answers probabilistically, domain languages provide absolute reliability and focused execution for complex systems.

#4 about 2 min

Applying best practices to create intuitive custom languages

Mimicking natural English patterns in code syntax creates closer alignment and easier collaboration between developers and domain experts.

#5 about 2 min

Identifying common domain specific languages in everyday development

Many widely adopted technologies like template markups, shell scripts, and query systems operate entirely as specialized domain tools.

#6 about 5 min

Analyzing SwiftUI as an internal domain specific language

Apple's user interface framework translates structural elements and visual modifiers into equivalent standard nouns and verbs within code blocks.

#7 about 5 min

Exploring core Swift syntax features that enable language creation

Advanced capabilities like property wrappers and trailing closures provide the foundational architecture necessary to construct expressive syntactic tools.

#8 about 4 min

Implementing foundational result builders and drawing protocols in Xcode

Structuring custom types and commands within result builders forms the underlying logic for a personalized drawing language application.

#9 about 5 min

Executing custom drawing language syntax alongside native Swift loops

Embedding native flow controls organically into constructed block elements renders processed outputs cleanly inside standard execution environments.

#10 about 3 min

Answering audience questions regarding version control and interface tracking

Relying on the host ecosystem allows custom languages to inherit mature native tooling packages without overhead engineering.

Matching moments

6:27 min

Enhancing developer experience with SDK discovery and DSLs

Maarten Balliauw · LIVE

2:01 min

Introduction to domain specific languages and their applications

Irina Artemeva · World Congress 2023

4:37 min

Business drivers for designing domain specific languages

Miro Spönemann · World Congress 2022

1:36 min

Introduction to programming language internal workings

Aleksandra Sikora · World Congress 2023

3:53 min

Implementing language model sessions using Swift asynchronous coding

MIlan Todorović MIlan Todorović · World Congress 2025

2:08 min

Reviewing Xcode implementations and Vision framework documentation reference resources

Milan Todorovic · World Congress 2021

Upcoming sessions on this topic

Open session

World Congress 2026 North America

September 24, 2026 · 16:10–16:40

Outdoor Stage

When Humans Stop Writing Code: Rethinking Languages, Compilers, and Responsibility

Simon Auer

Organizer of flutter vienna meetup and CEO of marqably

Simon Auer
Open session

World Congress 2026 North America

September 25, 2026 · 14:10–14:40

Mainstage

Signal Layer: What to Build When Anything Can Be Built

Lena Hall

Senior Director, Developers & AI

Lena Hall
Open session

World Congress 2026 North America

September 24, 2026 · 11:10–11:15

Outdoor Stage

Architecting the 100X SDLC: Building Production Trust into AI-Assisted Delivery

Ranjan Parthasarathy

Founder, CPTO/CEO at AXIOMSTUDIO.AI

Ranjan Parthasarathy
Open session

World Congress 2026 North America

September 25, 2026 · 15:30–16:00

Stage 6

Small LLM in your Browser: Huge Opportunities for Web Applications

Daniel Ostrovsky

UI/UX Architect at Payoneer | AI Architect | Full Cycle Development Expert | Public Speaker | Open Source Contributor |

Daniel Ostrovsky
Open session

World Congress 2026 North America

September 25, 2026 · 16:30–16:40

Outdoor Stage

12 Names for the Same Thing: Why Developer Experience Can't Grow Without a Common Language

Artem Mukhin

Software Engineer at Microsoft

Artem Mukhin
Open session

World Congress 2026 North America

September 24, 2026 · 15:30–16:00

Stage 7

Beyond Vibe Coding: Using CLI Tools as Your AI Counterpart in Pair Programming

Ron Veen

Java enthusiast and Special agent for Team Rockstars IT

Ron Veen