A Plugin-Based Language to Experiment with Model Transformation

  • Jesús Sánchez Cuadrado
  • Jesús García Molina
Part of the Lecture Notes in Computer Science book series (LNCS, volume 4199)


Model transformation is a key technology of model driven software development approaches. Several transformation languages have appeared in the last few years, but more research is still needed for an in-depth understanding of the nature of model transformations and to discover desirable features of transformation languages. Research interest is primarily focused on experimentation with languages by writing transformations for real problems.

RubyTL is a hybrid transformation language defined as a Ruby internal domain specific language, and is designed as an extensible language: a plugin mechanism allows new features to be added to core features. In this paper, we describe this plugin mechanism, devised to facilitate the experimentation with possible features of RubyTL. Through an example, we show how to add a new language feature, specifically we will develop a plugin to organize a transformation in several phases. Finally, we discuss the advantages of this extensible language design.


Model Transformation Target Model Target Element Transformation Language Source Element 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. 1.
    Czarnecki, K., Helsen, S.: Classification of model transformation approaches. In: Proceedings of the 2nd OOPSLA Workshop on Generative Technique in the Context of the Model Driven Architecture, Anaheim (October 2003)Google Scholar
  2. 2.
    Mens, T., Czarnecki, K., Van Gorp, P.: A taxonomy of model transformations (2005)Google Scholar
  3. 3.
    Bézivin, J., Dupé, G., Jouault, F., Pitette, G., Rougui, J.E.: First experiments with the ATL model transformation language: Transforming XSLT into XQuery. In: OOPSLA 2003 Workshop, Anaheim, California (2003)Google Scholar
  4. 4.
    Sánchez, J., García, J., Menarguez, M.: RubyTL: A Practical, Extensible Transformation Language. In: Rensink, A., Warmer, J. (eds.) ECMDA-FA 2006. LNCS, vol. 4066, pp. 158–172. Springer, Heidelberg (2006)CrossRefGoogle Scholar
  5. 5.
    Thomas, D.: Programming Ruby. The Pragmatic Programmers’ Guide. Pragmatic Bookshelf (2004)Google Scholar
  6. 6.
    Sendall, S., Kozaczynski, W.: Model transformation: The heart and soul of model-driven software development. IEEE Software 20(5), 42–45 (2003)CrossRefGoogle Scholar
  7. 7.
    Gardner, T., Griffin, C., Koehler, J., Hauser, R.: Review of OMG MOF 2.0 Query/Views/Transformations Submissions and Recommendations towards final Standard (2003)Google Scholar
  8. 8.
    Fowler, M.: Language Workbenches: The Killer-App for Domain Specific Languages? (June 2005), http://www.martinfowler.com/articles/languageWorkbench.html
  9. 9.
    Freeze, J.: Creating DSLs with Ruby (March 2006), http://www.artima.com/rubycs/articles/ruby_as_dsl.html
  10. 10.
    Bézivin, J., Rumpe, B., Schürr, A., Tratt, L.: Call for Papers of Model Transformations in Practice 2005 (2005)Google Scholar
  11. 11.
    Gamma, E., Helm, R., Johnson, R., Vlissides, J.: Design Patterns: Elements of Reusable Object-Oriented Software. Addison Wesley, Reading (1995)Google Scholar
  12. 12.
    Alur, D., Crupi, J., Malks, D.: Core J2EE Patterns: Best Practices and Design Strategies (2001)Google Scholar
  13. 13.
    Muller, P.A., Fleurey, F., Vojtisek, D., Drey, Z., Pollet, D., Fondement, F., Studer, P., Jézéquel, J.-M.: On executable meta-languages applied to model transformations. In: Model Transformations In Practice, Jamaica (2005)Google Scholar
  14. 14.
    Jouault, F., Kurtev, I.: Transforming models with ATL. In: Model Transformations in Practice Workshop, Montego Bay, Jamaica (2005)Google Scholar
  15. 15.
    Lawley, M., Steel, J.: Practical Declarative Model Transformation With Tefkat. In: Model Transformations In Practice Workshop, Montego Bay, Jamaica (2005)Google Scholar
  16. 16.
    Demathieu, S., Griffin, C., Sendall, S.: Model Transformation with the IBM Model Transformation Framework (2005), http://www-128.ibm.com/developerworks/rational/library/05/503_sebas/index.html
  17. 17.
    Winograd, T.A.: Muir: A Tool for Language Design. Technical report, Stanford, CA, USA (1987)Google Scholar
  18. 18.
    Shonle, M., Lieberherr, K.J., Shah, A.: XAspects: An extensible system for domain-specific aspect languages. In: OOPSLA Companion, pp. 28–37 (2003)Google Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 2006

Authors and Affiliations

  • Jesús Sánchez Cuadrado
    • 1
  • Jesús García Molina
    • 1
  1. 1.University of MurciaSpain

Personalised recommendations