Typed transformations of typed abstract syntax

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

2009 · 24 citations · 20 references

Concepts

Abstract

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.

References

20