Functional pearl typed quote/antiquote or: Compile-time parsing

0Citations
Citations of this article
18Readers
Mendeley users who have this article in their library.

Abstract

Haskell (Peyton Jones, 2003) is often used as a host language for embedding other languages. Typically, the abstract syntax of the guest language is defined by a collection of datatype declarations; parsers and pretty-printers convert between the concrete syntax and its abstract representation. A quote/antiquote mechanism permits a tighter integration of the guest language into the host language by allowing one to use phrases in the guest language's concrete syntax. For a simple example, assume that the abstract syntax of the guest language is given by the following datatype of binary trees. © 2011 Cambridge University Press.

Cite

CITATION STYLE

APA

Hinze, R. (2011). Functional pearl typed quote/antiquote or: Compile-time parsing. Journal of Functional Programming, 21(3), 219–234. https://doi.org/10.1017/S0956796811000050

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