Geoffrey Mainland

Quasiquoting Support for GHC

Quasiquoting is supported in GHC 6.10 and above. See the Quasiquotation tutorial on the Haskell wiki for a simple example. Also, please note that the syntax has changed slightly from that which is presented in the paper.

Audrey Tang has backported this feature to GHC 6.8.3. Her patch is available here.

Quasiquoting Publications

Why It's Nice to be Quoted: Quasiquoting for Haskell. Geoffrey Mainland. Proceedings of the 2007 ACM SIGPLAN workshop on Haskell (Haskell '07), 2007.
[doi] [pdf] [bib]

@inproceedings{mainland07quasiquoting,
 author = {Geoffrey Mainland},
 title = {Why it's nice to be quoted: Quasiquoting for {Haskell}},
 booktitle = {Haskell '07: Proceedings of the ACM SIGPLAN workshop on Haskell workshop},
 year = {2007},
 pages = {73--82},
 location = {Freiburg, Germany},
 publisher = {ACM},
 address = {New York, NY, USA},
}

A C Quasiquoting Library

The language-c-quite library for quasiquoting C and variations, including OpenCL and partial support for CUDA, is available on hackage and on github.