Posts with tag: dsl

Building blocks for Domain Specific Languages (DSLs) in Kotlin

Thu Aug 27 2020

Domain Specific Languages (DSLs) can be used to solve a lot of different problems (more on that shortly!). In this article we will take a look at how we can create DSLs in a very simple way that make for highly readable and expressive code. I will not go through general DSL creation, only the building blocks unique to Kotlin. At the end we will look at an example from an open source testing library (Spek).

Read more..