@TechReport{ it:1999-006, author = {Andreas Gustavsson and Mattias Ersson}, title = {Formalizing the Intent of Design Patterns. An Approach Towards a Solution to the Indexing Problem}, institution = {Department of Information Technology, Uppsala University}, department = {Division of Computer Systems}, year = {1999}, number = {1999-006}, month = jul, abstract = {The \emph{intent} section of a pattern description is written in easily understood, natural language, which unfortunately has the drawback of being too imprecise and unstructured for certain applications of the \emph{intent} section. We will in this essay try to formalize the intent section of a pattern description. Our aim will be to find a structure within the \emph{intent} description that will reduce ambiguities and at the same time make the classification of patterns easier. The classifications of patterns addresses the problem of ``labeling'' patterns into one of the following categories: Creational, Structural or Behavioural. Succeeding in classifying patterns by the \emph{intent} does require that enough information for doing so is contained in the one to two sentences that make up the \emph{intent}. Whether this is the case or not will be discussed in the essay. A formalized \emph{intent} section of a pattern description can not replace the understandability of the natural language description but can be thought of as a complement to the standard structure to patterns today.} }