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 · WWC 2023

4:37 min

Business drivers for designing domain specific languages

Miro Spönemann · WWC 2022

1:36 min

Introduction to programming language internal workings

Aleksandra Sikora · WWC 2023

3:53 min

Implementing language model sessions using Swift asynchronous coding

MIlan Todorović MIlan Todorović · WWC 2025

2:08 min

Reviewing Xcode implementations and Vision framework documentation reference resources

Milan Todorovic · WWC 2021

Upcoming sessions on this topic

Open session

World Congress 2026 North America

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

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

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
Open session

World Congress 2026 North America

The Broken Rung: How AI is Rebuilding Software Development from the Ground Up

Tomislav Tipurić

Chief Technology Officer, Nephos

Tomislav Tipurić
Open session

World Congress 2026 North America

Understanding LLM Architectures: Inside the Design of Modern Models

Jofia Jose Prakash

Enterprise AI Architect at American Chemical Society

Jofia Jose Prakash
Open session

World Congress 2026 North America

Designing APIs That Survive AI Agents at Scale

Phani Pendurthi

Mastercard, Principal Software Engineer

Phani Pendurthi