Domain Specific Language Library
Dsls provide particular abstractions that are suitable for one particular problem domain.
Domain specific language library. You could be familiar with the typical programming languages a k 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. It is a book on this subset of algorithms that they use day in day out. In contrast a domain specific language dsl is a tailor made language for a specific problem domain.
In the literature 12 16 several different benefits have been described for the development and use of dsls among which increasing the development productivity. We have developed and deployed a domain specific language currently written in c. Unlike a general purpose language such as c or uml a domain specific language dsl is designed to express statements in a particular problem space or domain. It s deployed though a series of method calls whose arguments are either common language primitives string double etc collections ienumerable hashset or objects in a domain specific library cmlmolecule point3 realsquarematrix.
A domain specific language dsl is a language meant for use in the context of a particular domain. Domain specific languages are languages created to support a particular set of tasks as they are performed in a specific domain. 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. Domain specific language tools dsl tools which are hosted in visual studio let you design a domain specific language and then generate everything that users must have to create models that are based on the language.
2 minutes to read 5. I ve been commisioned to write a book about a certain domain let s say a very specific branch of physics for a very technically savvy community but who are not programmers. Domain specific languages dsls have been around since i ve been in computing but it s hard to find much information about how to work with them. General programming languages or gpls.
Overview of domain specific language tools. Ask question asked 10 years 9 months ago. Dsls are small languages focused on a particular aspect of a software system.