concept domain - specific language in category javascript

appears as: domain-specific lguages, domain-specific language, A domain-specific lguage
Get Programming with JavaScript Next: New features of ECMAScript 2015, 2016, and beyond

This is an excerpt from Manning's book Get Programming with JavaScript Next: New features of ECMAScript 2015, 2016, and beyond.

  • Template literals will open the door for domain-specific languages with tagged templates.
  • Before you build a DSL, let’s first define what one is. A domain-specific language uses a programming language’s features and syntax in a clever way to make solving a particular task appear as if it has first-class support by the programming language itself. For example, a common type of DSL seen in JavaScript is used by unit test libraries: