Advantages Of Using Domain Specific Language
A domain specific language is a language that s written to deal with a specific domain or set of concerns.
Advantages of using domain specific language. A well supported and very extensible dsl at that. 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. The use of these languages has several key advantages. 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.
While it was published some years ago i think it is still relevant. Dsls do not always need to be big maintenance. A concise list of suggestions on designing dsls. The created models are written according to a specification an extensible domain specific language dsl for metaheuristic optimization.
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. It is a user friendly and domain specific language. 7 recommendations for domain specific language design based on domain driven design. There are a lot of them around like make ant and rake for describing software builds or lexx and yacc for language construction.
In recent years they ve become popular as some things have combined to make them easier to build. This language consists of all building blocks that are available to the modeler and can be extended by adding new components. Using a domain specific language obviates the need for an organization to develop its own xml component serving the same purpose. Needless to say the more expressive you are with this pu.
For example by transforming them to code using an underlying framework. When you are integrating multiple systems the purpose of the integration framework is to publish to all the parties the contracts expected from them in order for the integration to happen. Almost every function such as retrieving data from the database creating a new database manipulating data and databases such as insertion deletion and updation can be performed using sql. Structural query language sql is used for accessing manipulating and communicating with the database.
Lisp is regarded by some as the domain specific language for any domain. 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. The readily available components prevent having to reinvent the wheel 2. A domain specific language dsl is a language meant for use in the context of a particular domain.