1999 · 250 citations · 10 references
ComputingComputer EngineeringComputer ScienceCompilersDatabasesProgramming LanguagesCompiler ConstructionData TypesDomain-specific LanguagesQuery ProcessingStructured Query LanguageType SystemsAbstraction MechanismsCompiler SupportEmbedded Domain-specific LanguagesMonadic EffectsMonadic SemanticsMonadsPrimitive Recursive FunctionsSql Query Languages
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/or 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.
10
Imperative functional programming
Simon Jones, Philip Wadler · 1993 · 1.2K citations · Full text
The next 700 programming languages
P. J. Landin · Communications of the ACM · 1966 · 581 citations · Full text
Modular domain specific languages and tools
Paul Hudak · 2002 · 335 citations
Peter Buneman, Leonid Libkin, Dan Suciu et al. · ACM SIGMOD Record · 1994 · 213 citations · Full text
A Polymorphic Type System for Extensible Records and Variants
Benedict R. Gaster, Mark P. Jones · 1996 · 88 citations