Sciweavers

DAGSTUHL
2003

DSL Implementation in MetaOCaml, Template Haskell, and C++

13 years 6 months ago
DSL Implementation in MetaOCaml, Template Haskell, and C++
A wide range of domain-specific languages (DSLs) has been implemented successfully by embedding them in general purpose languages. This paper reviews embedding, and summarizes how two alternative techniques—staged interpreters and templates—can be used to overcome the limitations of embedding. Both techniques involve a form of generative programming. The paper reviews and compares three programming languages that have special support for generative programming. Two of these languages (MetaOCaml and Template Haskell) are research languages, while the third (C++) is already in wide industrial use. The paper identifies several dimensions that can serve as a basis for comparing generative languages.
Krzysztof Czarnecki, John T. O'Donnell, Jörg
Added 31 Oct 2010
Updated 31 Oct 2010
Type Conference
Year 2003
Where DAGSTUHL
Authors Krzysztof Czarnecki, John T. O'Donnell, Jörg Striegnitz, Walid Taha
Comments (0)