Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Embedding of External DSLs in Scala: Why and How

Code Sync via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
This conference talk from Lambda Days 2024 explores the process of embedding external domain-specific languages (DSLs) in Scala. Discover the motivations behind creating custom DSLs and learn practical implementation techniques using the tagless-final style. Follow along as Juan Manuel Serrano Hidalgo demonstrates how to implement syntax, semantics, and type systems for DSLs using Scala 3's advanced features including extension methods, match types, union types, polymorphic function types, structural types, and macros. Gain insights through real-world examples drawn from the Scala embedding of jq, the command-line JSON query language. Perfect for functional programmers looking to extend their language capabilities with domain-specific solutions.

Syllabus

Embedding of external DSLs in Scala: why and how! - Juan Manuel Serrano Hidalgo | Lambda Days 2024

Taught by

Code Sync

Reviews

Start your review of Embedding of External DSLs in Scala: Why and How

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.