Gå til søgefeltetSpring over til navigationSpring til hovedindhold

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-review

Open 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-review

Originalsprog

Engelsk

Publikationsmilepæle

  • Udgivet - 2014

Publikationsstatus

Udgivet - 2014

Forlag

Association for Computing Machinery, USA
978-1-4503-3284-2

Publikations 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

Relateret event

Titel

26nd Symposium on Implementation and Application of Functional Languages

Begivenhedstype

Konference

Dato

01/10/2014 - 03/10/2014

Lokation

Northeastern UniversitBoston, MAUSA