Precise specification and automatic application of design patterns

  • Authors:
  • A. H. Eden;A. Yehudai;J. Gil

  • Affiliations:
  • -;-;-

  • Venue:
  • ASE '97 Proceedings of the 12th international conference on Automated software engineering (formerly: KBSE)
  • Year:
  • 1997

Quantified Score

Hi-index 0.00

Visualization

Abstract

Despite vast interest in design patterns, the specification and application of patterns is generally assumed to rely on manual implementation. We describe a precise method of specifying how a design pattern is applied: by phrasing it as an algorithm in a meta-programming language. We present a prototype of a tool that supports the specification of design patterns and their realization in a given program. Our prototype allows automatic application of design patterns without obstructing the source code test from the programmer, who may edit it at will. We demonstrate pattern specification in meta-programming techniques and a sample outcome of its application.