Use Of Domain Specific Language
Domain specific languages have been talked about and used for almost as long as computing has been done.
Use of domain specific language. To provide clear examples e. 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. I can instead list several examples of public dsls which are used by millions of persons. A well supported and very extensible dsl at that.
A domain specific language dsl is a specialized programming language that is used for a single purpose. To be more formal c. Sql used for database queries and data manipulation. Any language that we use to describe a specific process is a dsl.
Examples of vocabulary in various domains. Zip all html files in my web site requires 300 lines of 3 or 4 different languages to complete. Domain specific language is a marker of inclusion within a community of practice. A domain specific language dsl is a language meant for use in the context of a particular domain.
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. In some cases fashioning a dsl from lisp or a similar language such as haskell could actually provide a lot of power with minimal effort and thus would be quite worthwhile. 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. To create strong mental pictures b.
What can you use general vocabulary for in your writing. Domain specific language tools uses constraints to express the kinds of restrictions that most domain specific languages require. Also this is multiple choice a. 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.
Artifact generation one of the main purposes of a domain specific language is to generate an artifact for example source code an xml file or some other usable data. Lisp is regarded by some as the domain specific language for any domain. To determine your audience 4. I have built several of this kind of dsls myself but i am not allowed to share them.
Unfortunately there is a lack of domain specific languages to describe even our most basic processes so we use the few languages we do have to describe everything we do.