Skip to main content
Back to USENIX
  • Conferences
  • Students
Sign in

USENIX Conference Policies

  • Event Code of Conduct
  • Conference Network Policy
  • Statement on Environmental Responsibility Policy

Domain-Specific Embedded Compilers

Domain-specific embedded languages (DSELs) expressed in higher-order, typed (HOT) languages provide a composable framework for domain-specific abstractions. Such a framework is of greater utility than a collection of stand-alone domain-specific languages. Usually, embedded domain specific languages are build on top of a set of domain specific primitive functions that are ultimately implemented using some form of foreign function call. We sketch a general design pattern for embedding client-server style services into Haskell using a domain specific embedded compiler for the server's source language. In particular we apply this idea to implement Haskell/DB, a domain specific embdedded compiler that dynamically generates of SQL queries from monad comprehensions, which are then executed on an arbitrary ODBC database server.

Daan Leijen, University of Utrecht

Erik Meijer, University of Utrecht

BibTeX
@inproceedings {271526,
author = {Daan Leijen and Erik Meijer},
title = {{Domain-Specific} Embedded Compilers},
booktitle = {2nd Conference on Domain-Specific Languages (DSL 99)},
year = {1999},
address = {Austin, TX },
url = {https://www.usenix.org/conference/dsl-99/domain-specific-embedded-compilers},
publisher = {USENIX Association},
month = oct
}
Download

Links

Paper: 
http://usenix.org/publications/library/proceedings/dsl99/full_papers/leijen/leijen.pdf
Paper (HTML): 
http://usenix.org/publications/library/proceedings/dsl99/full_papers/leijen/leijen_html/index.html
  • Log in or register to post comments

© USENIX
EIN 13-3055038

  • Privacy Policy
  • Contact Us