Events
29
September
2022
29.
09.
2022
06
October
2022
06.
10.
2022
13
October
2022
13.
10.
2022
20
October
2022
20.
10.
2022
27
October
2022
27.
10.
2022
03
November
2022
03.
11.
2022
10
November
2022
10.
11.
2022

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