Creating a Domain Specific Language in Kotlin Using Type-Safe Builders

Staff - Faculty of Informatics

Date: 24 March 2022 / 16:30 - 17:30

join here

Speaker: Aron Fiechter

Abstract:
A domain-specific language (DSL) is any language that is specialized to be used in a given domain. Some examples include HTML, SQL, GraphViz, and Gradle. Thanks to specific features, the Kotlin programming language is very well suited to create what are called embedded or internal DSLs. 
In this talk, we will first look at some features of Kotlin and learn the concept of type-safe builders. Then, in a live programming session, we will see how we can leverage these concepts and features to create a small DSL to draw simple geometric figures. 

Biography:
Aron Fiechter is a Junior R&D Engineer at CodeLounge, the center for software research & development of the Software Institute (USI) in Lugano, Switzerland. He received his Master's degree in Software & Data Engineering at USI Lugano in 2020. He is interested in tools and principles relevant for quality software development and is fascinated by the elegance of functional programming languages like Scala. More info at aronfiechter.com.

Chair: Alejandro Mazuera Rozo

Faculties