Journal article icon

Journal article

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

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, assu...

Expand abstract

Actions


Access Document


Publisher copy:
10.1017/S0956796811000050

Authors


Journal:
Journal of Functional Programming
Volume:
21
Issue:
3
Pages:
219-234
Publication date:
2011-05-05
DOI:
EISSN:
1469-7653
ISSN:
0956-7968
URN:
uuid:987c9bd2-8de7-4d0b-bf3c-ae66cc43a4f7
Source identifiers:
328721
Local pid:
pubs:328721
Language:
English

Terms of use


Metrics


Views and Downloads






If you are the owner of this record, you can report an update to it here: Report update to this record

TO TOP