Type-Directed Elaboration of Quasiquotations: A High-Level Syntax for Low-Level Reflection
- David Raymond Christiansen
Publikation:
Konference artikel i Proceeding eller bog/rapport kapitel
Konferencebidrag i proceedings
Forskning
Peer-reviewOpen Access
Resume
Idris's reflection features allow Idris metaprograms to manipulate a representation of Idris's core language as a datatype, but these reflected terms were designed for ease of type checking and are therefore exceedingly verbose and tedious to work with. A simpler notation would make these programs both easier to read and easier to write. We describe a variation of quasiquotation that uses the language's compiler to translate high-level programs with holes into their corresponding reflected representation, both in pattern-matching and expression contexts. This provides a notation for reflected language that matches the notation used to write programs, allowing readable metaprograms.
Publikation information
Produktionstype
Publikation:
Konference artikel i Proceeding eller bog/rapport kapitel
Konferencebidrag i proceedings
Forskning
Peer-reviewOriginalsprog
EngelskPublikationsmilepæle
- Udgivet - 2014
Publikationsstatus
Udgivet - 2014
Forlag
Association for Computing Machinery, USAISBN (Trykt)
978-1-4503-3284-2Publikations IDer
- Scopus: 84959387291
Titel på værtspublikation
Preproceedings of the 26nd Symposium on Implementation and Application of Functional Languages (IFL 2014)Redaktører for værtspublikation
- Sam Tobin-Hochstadt
Metrikker
PlumX, åbner i en ny fane
Hentninger
8
Antal citationer
7
Adgang til dokumenter
Relateret event
Titel
26nd Symposium on Implementation and Application of Functional Languages
Begivenhedstype
KonferenceDato
01/10/2014 - 03/10/2014Lokation
Northeastern UniversitBoston, MAUSA
