diff options
| -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. |
