Domain specific embedded compilers

144Citations
Citations of this article
21Readers
Mendeley users who have this article in their library.

Abstract

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. © 2000 ACM.

Cite

CITATION STYLE

APA

Leijen, D., & Meijer, E. (2000). Domain specific embedded compilers. SIGPLAN Notices (ACM Special Interest Group on Programming Languages), 35(1), 109–122. https://doi.org/10.1145/331963.331977

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free