Modelling Homogeneous Generative Meta-programming

Research output: Contribution to journalConference paperpeer-review

3 Citations (Scopus)
85 Downloads (Pure)

Abstract

Homogeneous generative meta-programming (HGMP) enables the generation of program fragments at compile-time or run-time. We present a foundational calculus which can model bott compile-time and run-time evaluated HGMP, allowing us to model, for the first time, languages such as Template Haskell. The calculus is designed such that it can be gradually enhanced with
the features needed to model many of the advanced features of real languages. We demonstrate this by showing how a simple, staged type system as found in Template Haskell can be added to the calculus.
Original languageEnglish
Number of pages23
JournalLeibniz International Proceedings in Informatics, LIPIcs
Volume74
Early online date16 Jun 2017
DOIs
Publication statusE-pub ahead of print - 16 Jun 2017

Fingerprint

Dive into the research topics of 'Modelling Homogeneous Generative Meta-programming'. Together they form a unique fingerprint.

Cite this