Typed Quote/Antiquote—Or: Compile−time Parsing
Haskell 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 data type declarations; parsers and pretty-printers convert between the concrete syntax and its abstract representation. A quote/antiquote mechan...
Main Author: | |
---|---|
Format: | Journal article |
Published: |
2011
|