Metaprogramming Domain Specific Metaprograms

  • Authors:
  • Tristan Cazenave

  • Affiliations:
  • -

  • Venue:
  • Reflection '99 Proceedings of the Second International Conference on Meta-Level Architectures and Reflection
  • Year:
  • 1999

Quantified Score

Hi-index 0.01

Visualization

Abstract

When a metaprogram automatically creates rules, some created rules are useless because they can never apply. Some metarules, that we call impossibility metarules, are used to remove useless rules. Some of these metarules are general and apply to any generated program. Some are domain specific metarules. In this paper, we show how dynamic metaprogramming can be used to create domain specific impossibility metarules. Applying metaprogramming to impossibility metaprogramming avoids writing specific metaprogram for each domain metaprogramming is applied to. Our meta-metaprograms have been used to write metaprograms that write search rules for different games and planning domains. They write programs that write selective and efficient search programs.