Program logics for homogeneous meta-programming.

Conference paper


Berger, M. and Tratt, L. 2010. Program logics for homogeneous meta-programming. 16th International Conference on Logic for programming Artificial Intelligence and Reasoning (LPAR-16). Dakar, Senegal
TypeConference paper
TitleProgram logics for homogeneous meta-programming.
AuthorsBerger, M. and Tratt, L.
Abstract

A meta-program is a program that generates or manipulates another program; in homogeneous meta-programming, a program may generate new parts of, or manipulate, itself. Meta-programming has been used extensively since macros
were introduced to Lisp, yet we have little idea how formally to reason about metaprograms. This paper provides the first program logics for homogeneous metaprogramming
– using a variant of MiniMLe by Davies and Pfenning as underlying meta-programming language.We show the applicability of our approach by reasoning about example meta-programs from the literature. We also demonstrate that our logics are relatively complete in the sense of Cook, enable the inductive derivation of characteristic formulae, and exactly capture the observational properties induced by the operational semantics.

Conference16th International Conference on Logic for programming Artificial Intelligence and Reasoning (LPAR-16)
Publication dates
PrintApr 2010
Publication process dates
Deposited28 May 2010
Output statusPublished
LanguageEnglish
File
Permalink -

https://repository.mdx.ac.uk/item/82wx9

Download files

  • 23
    total views
  • 14
    total downloads
  • 0
    views this month
  • 0
    downloads this month

Export as