Skip to main content

A Plugin-Based Language to Experiment with Model Transformation

  • Conference paper
Model Driven Engineering Languages and Systems (MODELS 2006)

Part of the book series: Lecture Notes in Computer Science ((LNPSE,volume 4199))

Abstract

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  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. Mens, T., Czarnecki, K., Van Gorp, P.: A taxonomy of model transformations (2005)

    Google Scholar 

  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. 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)

    Chapter  Google Scholar 

  5. Thomas, D.: Programming Ruby. The Pragmatic Programmers’ Guide. Pragmatic Bookshelf (2004)

    Google Scholar 

  6. Sendall, S., Kozaczynski, W.: Model transformation: The heart and soul of model-driven software development. IEEE Software 20(5), 42–45 (2003)

    Article  Google Scholar 

  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. Fowler, M.: Language Workbenches: The Killer-App for Domain Specific Languages? (June 2005), http://www.martinfowler.com/articles/languageWorkbench.html

  9. Freeze, J.: Creating DSLs with Ruby (March 2006), http://www.artima.com/rubycs/articles/ruby_as_dsl.html

  10. Bézivin, J., Rumpe, B., Schürr, A., Tratt, L.: Call for Papers of Model Transformations in Practice 2005 (2005)

    Google Scholar 

  11. Gamma, E., Helm, R., Johnson, R., Vlissides, J.: Design Patterns: Elements of Reusable Object-Oriented Software. Addison Wesley, Reading (1995)

    Google Scholar 

  12. Alur, D., Crupi, J., Malks, D.: Core J2EE Patterns: Best Practices and Design Strategies (2001)

    Google Scholar 

  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. Jouault, F., Kurtev, I.: Transforming models with ATL. In: Model Transformations in Practice Workshop, Montego Bay, Jamaica (2005)

    Google Scholar 

  15. Lawley, M., Steel, J.: Practical Declarative Model Transformation With Tefkat. In: Model Transformations In Practice Workshop, Montego Bay, Jamaica (2005)

    Google Scholar 

  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. Winograd, T.A.: Muir: A Tool for Language Design. Technical report, Stanford, CA, USA (1987)

    Google Scholar 

  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 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2006 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Cuadrado, J.S., Molina, J.G. (2006). A Plugin-Based Language to Experiment with Model Transformation. In: Nierstrasz, O., Whittle, J., Harel, D., Reggio, G. (eds) Model Driven Engineering Languages and Systems. MODELS 2006. Lecture Notes in Computer Science, vol 4199. Springer, Berlin, Heidelberg. https://doi.org/10.1007/11880240_24

Download citation

  • DOI: https://doi.org/10.1007/11880240_24

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-45772-5

  • Online ISBN: 978-3-540-45773-2

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics