Domain Specific Language (noun)
a computer programming language of limited expressiveness focused on a particuliar domain

Langauge vs. Grammer

  • a language is a set of legal sentences with associated meanings
  • a grammar is a set of the legal sentences in a language
  • each grammar determines a set of legal sentences, with possibly ambiguouos meanings
  • a given language an be specified by multiple languages

DSL Flow
DSL script ----> execute semantic model ----> generate code (optional)


Languages 101
  • basic language concepts
  • role of the semantecs model in dsls
  • testing languages
  • interpreters and compilers
  • alternative computational models
Language Components
  • syntax - legal sentences
  • semantics - the meaning of legal sentances range of possible output values without these things; you don't have a language