Abstract
Higher-order abstract syntax provides a convenient way of embedding domain-specific languages, but is awkward to analyse and manipulate directly. We explore the boundaries of higher-order abstract syntax. Our key tool is the unembedding of embedded terms as de Bruijn terms, enabling intensional analysis. As part of our solution we present techniques for separating the definition of an embedded program from its interpretation, giving modular extensions of the embedded language, and different ways to encode the types of the embedded language.
Original language | English |
---|---|
Title of host publication | Haskell '09 Proceedings of the 2nd ACM SIGPLAN Symposium on Haskell |
Editors | Stephanie Weirich |
Pages | 37-48 |
Number of pages | 12 |
DOIs | |
Publication status | Published - 2009 |
Event | 2nd ACM SIGPLAN symposium on Haskell - Edinburgh, United Kingdom Duration: 31 Aug 2009 → 2 Sept 2009 |
Conference
Conference | 2nd ACM SIGPLAN symposium on Haskell |
---|---|
Country/Territory | United Kingdom |
City | Edinburgh |
Period | 31/08/09 → 2/09/09 |
Keywords
- domain-specific languages
- coding
- syntax
- programming environments