Domain Specific Language Accounting
A domain specific language dsl is a specialized language used for a specific purpose.
Domain specific language accounting. 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. Therefore a general language model accounting for as many domains as possible is mandatory. 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. An adventure in financial engineering which represents contracts using a combinator library in haskell.
Domain specific language is a marker of inclusion within a community of practice. A domain specific language is a programming language with a higher level of abstraction. It is used to solve a specific problem. Domain specific language will be validated by means of an expert assessment.
Unlike low level languages which are applicable across different domains domain specific languages dsls specialize in a particular subject area. Domain specific languages dsls are most commonly used to represent financial instruments. These words have specific meaning to chemists and may not be understood by outsiders. A concise list of suggestions on designing dsls.
Infographics social and environmental accounting domain specific language openesea. Domain specific languages have been talked about and used for almost as long as computing has been done. This article has been written by johan den haan who is the cto at mendix. You can t write all programs with a dsl like with a general low level programming language.
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. The canonical paper is simon peyton jones composing contracts. On the other hand for applications in a specialized domain with abundant text domain specific pretraining is superior and desirable. According to fowler s domain specific languages internal dsls are a particular form of api in a host general purpose language often referred to as a fluent interface fowler 2010.
7 recommendations for domain specific language design based on domain driven design. While java can be leveraged to write any number of programs a dsl.