Vol: 51(65) No: 1 / March 2006 Advance Model Transformer Generation Akos Horvath Department of Measurement and Information Systems, Budapest University of Technology and Economics, H-1521 Budapest, Magyar tudósok körútja 2., Hungary, phone: (+36) 463-3579, e-mail: ahorvath@mit.bme.hu, Daniel Varro Department of Measurement and Information Systems, Budapest University of Technology and Economics, H-1521 Budapest, Magyar tudósok körútja 2., Hungary, phone: (+36) 463-3579, e-mail: varro@mit.bme.hu Endre Borbely Institute of Communication Engineering, Budapest Tech, Kandó Kálmán Faculty of Electrical Engineering, Tavaszmező utca 17, H-1084 Budapest, Hungary, phone: (+36) 1-666-51-48, e-mail: Borbely.Endre@kvk.bmf.hu Keywords: meta-transformation, code generation, model transformation. Abstract The current paper presents a new approach using generic and meta-transformations for generating platform-specific transformer plugins from model transformation specifications defined by a combination of graph transformation and abstract state machine rules (as used within the VIATAR2 framework). The essence of the approach is to store transformation rules as ordinary models in the model space which can be processed later by the meta-transformations which generates the platform-specific (Java, C++, C#, etc.) transformer plugin. These meta rules highly rely on generic patterns (i.e. patterns with type parameters) which provide high-level reuse of basic transformation elements. As a result, the porting of a transformer plugin to a new underlying platform can be accelerated significantly. References [1] J. Bettin, “Ensuring structural constraints in graph-based models with type inheritanceâ€, in: M. Cerioli, editor, Proc. 8th Int. Conf on Fundamental Approaches to Software Engineering (FASE 2005), LNCS 3442, pp. 64 – 79, 2005. [2] D. Varró and A. Pataricza, “Generic and meta-transformations for model transformation engineeringâ€, In: T. Baar, A. Strohmeier, A. Moreira and S. Mellor, editors, Proc. UML 2004: 7th International Conference on the Unified Modeling Language, LNCS 3273, pp. 290 – 304, 2004. [3] G. Varró, D. Varró and K. Friedl, “Adaptive graph pattern matching for model transformations using model-sensitive search plansâ€, In: G. Karsai and G. Taentzer, editors, GraMot 2005, Proc. International Workshop on Graph and Model Transformations, ENTCS, vol. 42, pp 191 – 205, 2005. [4] E. Börger and R. Stark, Abstract State Machines. A method for High-Level System Design and Analysis, Springer-Verlag, 2003. [5] D. Varró and A. Pataricza, “VPM: A visual, precise and multilevel metamodeling framework for describing mathematical domains and UMLâ€, Journal of Software and Systems Modeling, vol. 2, pp. 187 – 210, 2003. [6] Y. J. Chu, and T. H. Liu, “On the shortest arborescence of a directed graphâ€, Science Sinica, vol. 14, pp. 1396 – 1400, 1965. [7] H. Ehrig, G. Engels, H.-J. Kreowski and G. Rozenberg, editors, Handbook of Graph Grammars and Computing by Graph Transformation, Vol. 2: Applications, Languages and Tools, World Scientific, 1999.W. A. Sabin, The Gregg Reference Manual, 6th ed., Gregg Division, McGraw–Hill, New York, 1985. [8] J. Edmonds, †Optimum branchingsâ€, Journal Research of the National Bureau of Standards, pp. 233 – 240, 1967. [9] Apache, Velocity homepage, http://jakarta.apache.org/velocity/index.html. [10] Y. Gurevich, “The sequential ASM thesisâ€, Bulletin of the European Association for Theoretical Computer Science, vol. 67, pp. 93 – 124, 1999. [11] G. Rozenberg, editor, Handbook of Graph Grammars and Computing by Graph Transformation, Vol. 1: Foundations, World Scientific, 1997. [12] J. Rumbaugh, I. Jacobson and G. Booch, The Unified Modeling Language Reference Manual, Addison-Wesley, 1999. [13] U. J. Niere and A. Zundorf, “Tool demonstration: The FUJABA environmentâ€, Proc. 22nd International Conference on Software Engineering (ICSE), 2000. [14] L. Geiger, and C. Schneider, “Template- and model based code generation for MDA-toolsâ€, Proc. 3rd International Fujaba Days (IFD05), Carsten Reckord Heinz Nixdorf Institute, Paderborn, Germany, 2005. [15] A. Vizhanyo, A. Agrawal and F. Shi, “Towards generation of efficient transformationsâ€, In: G. Karsai and E. Visser, editors, Proc. of 3rd Int. Conf. on Generative Programming and Component Engineering (GPCE 2004), LNCS 3286, pp. 298 – 316, 2004. [16] A. Kalnins, J. Barzdins and E. Celms, â€Model transformation language MOLAâ€, Proceedings of MDAFA 2004 (Model-Driven Architecture: Foundations and Applications 2004), Linköping, Sweden, pp. 14 – 28, 2004. [17] A. Schürr, “Introduction to PROGRES, an attributed graph grammar based specification languageâ€, In: M. Nagl, editor, Graph–Theoretic Concepts in Computer Science, LNCS 411, pp. 151 – 165, 1990. [18] W. Hesse,“Two-level graph grammarsâ€, In: V. Claus, H. Ehrig and G. Rozenberg, editors, International Workshop on Graph-Grammars and Their Application to Computer Science and Biology, October 30 - November 3, 1978, Lecture Notes in Computer Science 73, pp. 255 – 269, 1979. [19] A. Balogh, G. Varró, D. Varró and A. Pataricza, “Generation of platform-specific model transformation plugins for EJB 3.0â€, accepted to SAC 2006, Model Transformation Track, 2006. |