No CrossRef data available.
Article contents
Typed quote/antiquote or: Compile-time parsing
Published online by Cambridge University Press: 27 May 2011
Extract
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.
- Type
- Functional Pearl
- Information
- Copyright
- Copyright © Cambridge University Press 2011
Discussions
No Discussions have been published for this article.