What Is Domain Specific Language What Are Some Examples
Examples of domain specific languages.
What is domain specific language what are some examples. It is used to solve a specific problem. Unlike low level languages which are applicable across different domains domain specific languages dsls specialize in a particular subject area. A domain specific language dsl is a language meant for use in the context of a particular domain. Let s take a look at some examples of dsls.
Assembler c java c python c ttcn 3 simulink xml. Application development archicture design testing verification and validation service creation. 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. Domain specific languages have been talked about and used for almost as long as computing has been done.
A lexical language to describe language elements this is common in the compiler field used to generate fast fsas for brea. Domain specific languages can serve all sorts of purposes. A domain specific language dsl is a specialized language used for a specific purpose. Domain specific modeling languages tend to support higher level abstractions than general purpose modeling languages so they require less effort and fewer low.
Various desing tasks covered. A domain specific language is a programming language with a higher level of abstraction. 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. A domain could be a business context e g banking insurance etc or an application context e g a web application database etc in contrast a general purpose language gpl can be used for a wide range of business problems and applications.
We use domain specific languages to describe tasks related to automating the analysis and transformation of source code. Programmers service. They are specialized languages that can be built to be used inside one single company something i routinely do for my clients. 20 examples various target languages generated.
Examples include css regular expressions make rake ant sql hql many bits of rails expectations in jmock graphviz s dot language. 20 examples on domain specific modeling languages 1. Dsls are very common in computing.