Domain Specific Language Net
The idea is that with a domain specific language one could create a dsl that closely maps the problem at hand.
Domain specific language net. For example for an act class instance the customer should give values for classcode moodcode and code. Download visual studio 2008 solution 126 4 kb. 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. This language is designed for solving general problems but rather is constrained to its specific domain.
At the runtime stage for every element the customer will have to set some domain specific properties. A language should have a root domain class that represents the entire model. Creating a domain specific language for net application mike james. Net framework pronounced as dot net is a software framework developed by microsoft that runs primarily on microsoft windows it includes a large class library called framework class library fcl and provides language interoperability each language can use code written in other languages across several programming languages programs written for net framework execute in a software.
As an internal dsl it can utilise the full power of the underlying platform. Historically this has been reasonably difficult due to requiring in depth knowledge of compilation theory and or the use of one or more tools each of which had its own learning curves. Enter a filename extension on the file extension page. This two part article is aimed at experienced c net programmers who wish to write their own little computer languages see part two here.
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. Domain specific languages with martin fowler duration. The language within context free art is specific to its domain. Redcode for corewars would be another domain specific language.
For more information about solution templates see choosing a domain specific language solution template. Domain specific language in net. Onsoftware recommended for you. I have chosen boo as the language due to its dynamic features and net integration capabilities.
In this tutorial we develop an internal domain specific language on the net platform including an editor with syntax highlighting and auto completion. On the select domain specific language options page select one of the solution templates such as minimal language choose a template that is similar to the dsl that you want to create.