Domain-Specific Languages In Kotlin: Getting Started |

In this Kotlin tutorial, learn how to create a DSL using Kotlin lambdas with receivers, builder pattern and extension functions!

This is a companion discussion topic for the original entry at

Thank you for the great tutorial on Kotlin DSL. I was wondering if there is a way to restrict scope when creating DSLs using extension functions?