Quasiquoting Support for GHC
Quasiquoting is now supported in GHC HEAD (6.9). 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 below.
Audrey Tang has backported this feature to GHC 6.8.3. Her patch is available here.
Paper
This paper describes my implementation of quasiquoting support in GHC, slightly
revised from the conference proceedings:
Why It's Nice to be Quoted: Quasiquoting for Haskell, Geoffrey
Mainland. Proceedings of the 2007 ACM SIGPLAN workshop
on Haskell (Haskell '07), September 2007. [PDF]
The paper is © ACM, (2007). This is the author's version of the work. It is posted here by permission of ACM for your personal use. Not for redistribution. The definitive version was published in Proceedings of the 2007 ACM SIGPLAN workshop on Haskell.
