Domain Specific Language Examples
A domain specific language dsl is a computer language specialized to a particular application domain this is in contrast to a general purpose language gpl which is broadly applicable across domains.
Domain specific language examples. The basic idea of a domain specific language dsl is a computer language that s targeted to a particular kind of problem rather than a general purpose language that s aimed at any kind of software problem. Various desing tasks covered. While it was published some years ago i think it is still relevant. Programmers service.
A domain specific language is a notation usually graphical that is designed to be used for a particular purpose. The domain specific vocabulary used by people in chemistry might include molar ratios element compound. This article has been written by johan den haan who is the cto at mendix. Domain specific modeling with metaedit has been used in a wide variety of domains and industries to achieve fundamental improvements in productivity and quality.
Sql used for database queries and data manipulation. Application development archicture design testing verification and validation service creation. A concise list of suggestions on designing dsls. Domain specific languages have been talked about and used for almost as long as computing has been done.
Chemistry mathematics literature medicine and history. 20 examples various target languages generated. The examples listed represent just a fraction of the hundreds of domains which have benefited from this approach. By contrast languages such as uml are general purpose.
A lexical language to describe language elements this is common in the compiler field used to generate fast fsas for brea. In a dsl you can define the types of model element and their relationships and how they are presented on the screen. 20 examples on domain specific modeling languages 1. Examples of areas or domains of knowledge include.
Domain specific vocabulary is the language that is used primarily within one area of knowledge but not others. There are a wide variety of dsls ranging from widely used languages for common domains such as html for web pages down to languages used by only one or a few pieces of software such as. Assembler c java c python c ttcn 3 simulink xml. 7 recommendations for domain specific language design based on domain driven design.