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

Events
19
July
2024
19.
07.
2024
22
July
2024
22.
07.
2024
30
July
2024
30.
07.
2024
01
August
2024
01.
08.
2024
13
August
2024
13.
08.
2024

Cinema and Audiovisual Futures Conference 2024

Faculty of Communication, Culture and Society

The Future of Survival Public Event: AI and Generative humanity

Faculty of Communication, Culture and Society