Domain Specific Language Syntax
Role domain specific language syntax the design time definition of a role is specified in a text file with the extension hdbrole.
Domain specific language syntax. The guidelines are organized around language purpose language realization language content abstract syntax and concrete syntax when and how to develop domain specific languages. Role domain specific language syntax the design time definition of a role is specified in a text file with the extension hdbrole. Using the flexible f syntax we can get code that even non programmers can understand. 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.
If you want a detailed description from the point of view of a domain specific language read my dsl2011 paper on melt. 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 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. It s an increasingly popular choice to express an api as a dsl a domain specific language.
A dsl is a language within a language that is compiled or interpreted inside a host language in our case go. A paper over 30 pages with an interesting bibliography of almost 100 entries. Click domain specific language designer. I am the main author and designer of melt a domain specific language to extend gcc the gnu compiler collection.
Roles are defined using a domain specific language dsl. By designing a composable functional library we can build an expressive language for describing our problems. Under project types expand the other project types node and click extensibility. To create a new domain specific language you create a new visual studio solution by using the domain specific language project template.
The implementation is available free software gplv3 licensed. In the name box type. On the file menu point to new and then click project. Domain specific languages have been talked about and used for almost as long as computing has been done.
Domain specific languages dsls give us a way to solve such repeating problems. You don t need to switch gears to a dynamic language like ruby or python to enjoy pleasant apis or declarative syntax.