Year: 2016
Type: article
Abstract: Homogeneous generative meta-programming (HGMP) enables the generation of program fragments at compile-time or run-time. We present the first foundational calculus which can model powerful HGMP languages such as Template Haskell. The calculus is designed such that we can gradually enhance it with the features needed to model many of the advanced features of real languages. As a demonstration of the flexibility of our approach, we also provide a simple type system for the calculus.
Parent work: LIPIcs, Volume 74, ECOOP'17, Complete Volume
Authors: Berger, Martin, Tratt, Laurence, Urban, Christian
Institution: University of Sussex
Language: English
Subfield: Software
Field: Computer Science
Domain: Physical Sciences
Keywords: code generation, type systems
Open Access status: green
OpenAlex ID: W2963076730
