Modular Domain Specific Languages and Tools

Paul Hudak

   Abstract

 

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. Onthe 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.

@InProceedings{hud98:dsl,
  author =	 "Paul Hudak",
  title =	 "Modular Domain Specific Languages and Tools",
  booktitle =	 "Proceedings of Fifth International Conference on
                  Software Reuse",
  pages =	 {134-142},
  month =	 "June",
  year =	 1998,
}

   Download