DEV Community

Cover image for Kotlin DSL: From Theory to Practice

Kotlin DSL: From Theory to Practice

Ivan Osipov on January 17, 2018

SQL, RegExp, Gradle — what do they have in common? All of them represent an example of using domain-specific languages, or DSLs. Languages of this ...
Collapse
 
bertilmuth profile image
Bertil Muth

Thank you, Ivan, for writing this article.
It was really inspiring and useful.

I plan to use the concepts you discuss to create a DSL for use cases,
in my project requirements as code.

Collapse
 
ivanosipov profile image
Ivan Osipov

Glad to see it, I hope Kotlin DSL will be useful for your case

Collapse
 
eddy_wm profile image
Eddy WM

Great article !

Kotlin is really a great tool for developers.

I am currently implementing a P2P protocol over TCP using Kotlin with all its concurrency utilities, everything is flowing smoothly.

Collapse
 
ivanosipov profile image
Ivan Osipov

Thanks. Do you use coroutines?