Typed transformations of typed abstract syntax

Arthur I. Baars, S. Doaitse Swierstra, Marcos Viera · 2009

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.

Read the paper · More papers on PaperTik