Domain-specific languages are in contrast to the general-purpose languages—for example, Java or Kotlin—which can be used to develop an application and can be written in multiple parts of an application. DSL is more concise and readable, as it mostly reads like an English statement. An example of DSL is the SQL language, which is readable and expressive rather than another general-purpose language.

错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Kotlin Domain-Specific Language (DSL)

  • Arnika Patel,
  • Keshav Kumar,
  • Dr. Bishwajeet Kumar Pandey

摘要

Domain-specific languages are in contrast to the general-purpose languages—for example, Java or Kotlin—which can be used to develop an application and can be written in multiple parts of an application. DSL is more concise and readable, as it mostly reads like an English statement. An example of DSL is the SQL language, which is readable and expressive rather than another general-purpose language.