Adding Standardized Variability to Domain Specific Languages

Authors:
  • OHOystein Haugen
    Oystein Haugen
  • BMBirger Moller-Pedersen
    Birger Moller-Pedersen
  • JOJon Oldevik
    Jon Oldevik
  • GOGoran K. Olsen
    Goran K. Olsen
  • ASAndreas Svendsen
    Andreas Svendsen

Abstract
We show how a common language of variability can be used to enhance the expressiveness of a domain specific language (DSL). DSLs have been proposed as a mechanism for expressing variability. Variability between models in a given domain or of a family of systems is captured by language constructs, implying that all possible models in this language are the allowed variations. We explore the possibility of expressing variability in a language independently of the base modeling language. We explore how this works for small DSLs as well as for general purpose languages like UML. Implications of this approach are that the variability language can be standardized, and that DSLs do not have to include variability mechanisms.