Send Close Add comments: (status displays here)
Got it!  This site uses cookies. You consent to this by clicking on "Got it!" or by continuing to use this website.nbsp; Note: This appears on each machine/browser from which this site is accessed.
Domain specific languages


1. Domain specific languages
A DSL (Domain Specific Language) is a small language notation for describing a problem that can be in some way automated.

2. Domains
A domain is an area with its own specific terms, etc.

3. Turing complete
A Turing (from Alan Turning) complete programming language is a language that can compute any computable function.

There are many programming notations and small languages, generally referred to as a DSL, that are useful but not Turing complete.

4. Embedded DSL
In many languages, such as C, there is a formatted print statement such as, in C, printf.
printf("x=%d y=%f", x, y);

The mini-language or notation within the text string is a small DSL embedded in the language.

Many languages have regular language support built into the language as a small DSL.

The C# language has LINQ as a DSL built into the language/environment to make interfacing to databases easier (for the programmer).

5. End of page

6. Acronyms and/or initialisms for this page