Domain Specific Language Advantages
September 24 2010 print isbn 10.
Domain specific language advantages. This article has been written by johan den haan who is the cto at mendix. A domain specific language is usually less complex than a general purpose. A concise list of suggestions on designing dsls. A well supported and very extensible dsl at that.
Domain specific languages by. 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. While it was published some years ago i think it is still relevant. Lisp is regarded by some as the domain specific language for any domain.
A dsl uses the concepts and rules from the field or domain. A domain specific language can provide the following benefits. How are domain specific languages different from real programming languages. The use of these languages has several key advantages.
7 recommendations for domain specific language design based on domain driven design. 0 ratings subscriber rating. 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. Needless to say the more expressive you are with this pu.
Contains constructs that exactly fit the problem space. Unlike general purpose languages a domain specific language consists of elements and relationships that directly represent the logic of the problem space. 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. 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 well supported and very extensible dsl at that. 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. Using a domain specific language obviates the need for an organization to develop its own xml component serving the same purpose. A domain specific language is a programming language with a higher level of abstraction optimized for a specific class of problems.
The readily available components prevent having to reinvent the wheel 2.