Modular Domain Specific Languages and Tools

Paul Hudak. Modular Domain Specific Languages and Tools. In Proceedings of the 5th International Conference on Software Reuse, ICSR '98. IEEE Computer Society, Washington, DC, USA, jun 1998. [doi]


A domain specific language (DSL) allows one to develop software for a particular application domain quickly and effectively, yielding programs that are easy to understand, reason about, and maintain. On the other hand, there may be a significant overhead in creating the infrastructure needed to support a DSL. To solve this problem, a methodology is described for building domain specific embedded languages (DSELs), in which a DSL is designed within an existing, higher-order and typed, programming language such as Haskell or ML. In addition, techniques are described for building modular interpreters and tools for DSELs. The resulting methodology facilitates reuse of syntax semantics, implementation code, software tools, as well as look-and-feel