Chapter 11: Building Your Own Tools – Domain-Specific Languages (DSLs)

  1. What does DSL stand for?
  1. Can you name two examples of domains to which DSLs can be applied?
  1. What are the two primary building blocks of a DSL in Kotlin?
  1. What are two mechanisms for controlling the scope of a DSL function?
  1. What is the @DslMarker annotation used for?
  1. What are two benefits that custom DSLs can provide?