Language Support for Design Patterns Using Attribute Extension

G. Hedin

In Bosch and Mitchell (Eds.): Object-Oriented Technology. ECOOP'97 Workshop Reader, pp137-140. LNCS 1357, copyright Springer-Verlag, 1997.

[Short version (postscript) (published in the workshop reader)]

[Long version (postscript) (published in the electronic proceedings)]


We present a technique for formalizing design patterns using a technique based on attribute grammars. The technique allows design pattern applications to be identified in the source code, and supports automatic checking that the pattern is applied correctly. We expect the technique to be particularly useful when specializing frameworks built using design patterns.