English

Modelling homogeneous generative meta-programming

Programming Languages 2017-04-25 v2

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.

Keywords

Cite

@article{arxiv.1602.06568,
  title  = {Modelling homogeneous generative meta-programming},
  author = {Martin Berger and Laurence Tratt and Christian Urban},
  journal= {arXiv preprint arXiv:1602.06568},
  year   = {2017}
}

Comments

ECOOP 2017, to appear

R2 v1 2026-06-22T12:54:38.465Z