From d6994f34cd72bb8f5fc871a444d393860a878da6 Mon Sep 17 00:00:00 2001 From: Connor Zanin Date: Tue, 13 Dec 2016 17:02:08 -0500 Subject: . --- chapter/4/dist-langs.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'chapter/4') 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. -- cgit v1.2.3