diff options
| author | Connor Zanin <cnnrznn@gmail.com> | 2016-12-13 17:02:08 -0500 |
|---|---|---|
| committer | Connor Zanin <cnnrznn@gmail.com> | 2016-12-13 17:02:08 -0500 |
| commit | d6994f34cd72bb8f5fc871a444d393860a878da6 (patch) | |
| tree | 1cac0eb31eb6d4a9deb1fb1a16f0ac7849ef995a /chapter | |
| parent | d81f59ce9e3dd25e871c67c29e06f1614b977f25 (diff) | |
.
Diffstat (limited to 'chapter')
| -rw-r--r-- | chapter/4/dist-langs.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chapter/4/dist-langs.md b/chapter/4/dist-langs.md index fd9a7d3..e7463c7 100644 --- a/chapter/4/dist-langs.md +++ b/chapter/4/dist-langs.md @@ -428,7 +428,7 @@ Another definition is offered (and commonly cited) by { // TODO cite annotated b > A domain-specific language is a programming language or executable specification language that offers, through appropriate notations and abstractions, expressive power focused on, and usually restricted to, a particular problem domain. -Generally, I would refer to a domain-specific language (DSL) as a *system*, be it a standalone language, compiler extension, library, set of macros, etc., that is designed for common operations in a problem domain to be easily expressed. +Generally, I would refer to a domain-specific language (DSL) as a *system*, be it a standalone language, compiler extension, library, set of macros, etc., that is designed for a set of cohesive operations to be easily expressed. For example, the python twitter library is designed for easily expressing operations that manage a twitter account. @@ -436,7 +436,7 @@ The problem in defining this term (I believe) is the the vagueness of the compon Depending on the classification, a set of problems designated in a certain domain may span a "wide" or "narrow" scope. For example, does "tweeting" qualify as a domain (within the twitter library)? Would "social media sharing" qualify as a domain (containing the twitter library)? -For my purposes I will accept the definition of a domain as a "well-defined, highly cohesive set of operations." +For my purposes I will accept the definition of a domain as a "well-defined, cohesive set of operations." It is also difficult to come up with a definition for a language. A language may be qualified if it has its own compiler. |
