Initial Suite of Small Language Definitions and Implementations for DSDL
OREGON GRADUATE INST OF SCIENCE AND TECHNOLOGY PORTLAND PACIFIC SOFTWARE RESEARCH CENTER
Pagination or Media Count:
Domain specific languages are small, special purpose languages created to describe computational solutions in a particular problem domain. Domain specific languages have proven themselves useful many times over however, the cost of defining and implementing a domain specific language can be high. An approach that avoids the overhead of domain specific language definition is to define an embedded language i.e. a collection of definitions in a sufficiently expressive host language. Embedding a domain specific language places high demands on a host language. The host language must be able to express the essence of the domain, while not sacrificing too much in syntax. This report, presents a suite of seven examples of embeddings using the functional programming language Haskell.
- Computer Programming and Software