Abstract
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.
Originalsprog | Engelsk |
---|---|
Titel | Preproceedings of the 26nd Symposium on Implementation and Application of Functional Languages (IFL 2014) |
Redaktører | Sam Tobin-Hochstadt |
Antal sider | 9 |
Forlag | Association for Computing Machinery |
Publikationsdato | 2014 |
ISBN (Trykt) | 978-1-4503-3284-2 |
DOI | |
Status | Udgivet - 2014 |
Begivenhed | 26nd Symposium on Implementation and Application of Functional Languages - Northeastern Universit, Boston, MA, USA Varighed: 1 okt. 2014 → 3 okt. 2014 http://www.wikicfp.com/cfp/servlet/event.showcfp?eventid=39053©ownerid=48563 |
Konference
Konference | 26nd Symposium on Implementation and Application of Functional Languages |
---|---|
Lokation | Northeastern Universit |
Land/Område | USA |
By | Boston, MA |
Periode | 01/10/2014 → 03/10/2014 |
Internetadresse |
Emneord
- Quasiquotation
- Proof automation
- Metaprogramming