2009 · 24 citations · 20 references
ComputingComputer ScienceEmbedded SystemsProgramming LanguagesSemanticsAbstract Syntax TreesCompositional SemanticsData TypesDomain-specific LanguagesSyntax-semantics InterfaceType SystemsAbstract Syntax ModelingAbstract TypesAbstractionAbstraction MechanismsEmbedded Domain-specific LanguagesTransformation LanguagesTransformationsType Polymorphism
Advantages of embedded domain-specific languages (EDSLs) are that one does not have to implement a separate type system nor an abstraction mechanism, since these are directly borrowed from the host language. Straightforward implementations of embedded domain-specific languages map the semantics of the embedded language onto a function in the host language. The semantic mappings are usually compositional, i.e. they directly follow the syntax of the embedded language.
20
John Hughes · Science of Computer Programming · 2000 · 517 citations
Simple unification-based type inference for GADTs
Simon Peyton Jones, Dimitrios Vytiniotis, Stephanie Weirich et al. · 2006 · 336 citations
Ross Paterson · 2001 · 214 citations
John Launchbury, Simon Jones · 1994 · 207 citations · Full text
James Cheney, Ralf Hinze · eCommons (Cornell University) · 2003 · 180 citations · Full text