Abstract
As one of the MDA’s main principles, model transformation has led to the specification of QVT and a large number of model transformation tools. TXL is a generic source transformation tool that also possesses some very important model transformation properties, such as scalability and efficiency. In this paper, we consider TXL as a model transformation tool, especially, for model-to-model transformations. We first present an approach for applying TXL as a model transformation tool. An interesting feature of the approach is the automatic generation of TXL grammars from meta-models. Then, practical applications of model transformation via TXL that follow our approach are given. We conclude the paper with a preliminary evaluation of using TXL as a model transformation tool.
This work was supported by the Natural Sciences and Engineering Research Council of Canada (NSERC), Ontario Centres of Excellence (OCE), and IBM CAS Ottawa.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
Cordy, J.: The TXL Source Transformation Language. Science of Computer Programming 61(3) (2006)
Czarnecki, K., Helsen, S.: Classification of model transformation approaches. In: Proceedings of the 2nd OOPSLA Workshop on Generative Techniques in the Context of Model-Driven Architecture, Anaheim, CA, USA (October 2003)
Dean, T.R., Cordy, J.R., Malton, A.J., Schneider, K.A.: Grammar programming in TXL. In: 2nd Int. Workshop on Source Code Analysis and Manipulation (SCAM 2002) (2002)
Diskin, Z., Dingel, J.: A metamodel-independent framework for model transformation: Towards generic model management patterns in reverse engineering. In: 3rd Int. Workshop on Metamodels, Schemas, Grammars, and Ontologies (2006)
Eclipse Fundation. Eclipse Graphical Modeling Framework (GMF), http://www.eclipse.org/gmf/
Eclipse Fundation. Eclipse Modeling Framework Project (EMF), http://www.eclipse.org/modeling/emf/
Eclipse Fundation. Eclipse UML2, http://www.eclipse.org/modeling/mdt/?project=uml2
Grønmo, R., Oldevik, J.: An empirical study of the UML model transformation tool (UMT). In: First Interoperability of Enterprise Software and Applications, Geneva, Switzerland (February 2005)
ATLAS Group. Atlas transformation language, http://www.eclipse.org/m2m/atl/
Object Management Group. MDA guide version 1.0.1, http://www.omg.org/docs/omg/03-06-01.pdf
Object Management Group. Meta-Object Facility (MOF), version 2.0, http://www.omg.org/mof/
Object Management Group. Unified Modeling Language, version 2.1.1, http://www.omg.org/technology/documents/formal/uml.htm
Object Management Group. XML Metadata Interchange (XMI), version 2.1.1, http://www.omg.org/cgi-bin/doc?formal/2007-12-01
Object Management Group. OMG/RFP/QVT MOF 2.0 Query/Views/ Transformations RFP (2003), http://www.omg.org/docs/ad/02-04-10.pdf
Object Management Group. Object Constraint Language Specification Version 2.0 (2006), http://www.omg.org/technology/documents/formal/ocl.htm
IBM. Rational Software Architect, http://www-306.ibm.com/software/awdtools/architect/swarchitect/
Jouault, F., Bézivin, J., Kurtev, I.: TCS: a DSL for the Specification of Textual Concrete Syntaxes in Model Engineering. In: 5th International Conference on Generative programming and Component Engineering (GPCE 2006) (2006)
Kolovos, D., Paige, R., Polack, F.: Eclipse Development Tools for Epsilon. In: Eclipse Summit Europe, Eclipse Modeling Symposium (2006)
Lawley, M., Steel, J.: Practical declarative model transformation with tefkat. In: Bruel, J.-M. (ed.) MoDELS 2005. LNCS, vol. 3844, pp. 139–150. Springer, Heidelberg (2006)
Liang, H., Diskin, Z., Posse, J.D.E.: A general approach for scenario integration. In: ACM/IEEE 11th International Conference on Model Driven Engineering Languages and Systems (MoDELS 2008) (October 2008)
Malton, A.J.: The denotational semantics of a functional tree-manipulation language. Computer Languages 19(3), 157–168 (1993)
Paige, R.F., Radjenovic, A.: Towards model transformation with TXL. In: Proc. Metamodelling for MDA Workshop, York, UK (November 2003)
Peltier, M., Bézivin, J., Guillaume, G.: MTRANS: A general framework, based on XSLT, for model transformations. In: Proceedings of the Workshop on Transformations in UML (WTUML 2001), Genova, Italy (April 2001)
AGG project. AGG system, http://tfs.cs.tu-berlin.de/agg/
AToM3 project. AToM3 A Tool for Multi-formalism Meta-Modelling, http://atom3.cs.mcgill.ca/
GReAT project. GReAT: Graph Rewriting And Transformation, http://www.isis.vanderbilt.edu/Projects/mobies/downloads.asp
VIATRA2 project, http://dev.eclipse.org/viewcvs/indextech.cgi/gmt-home/subprojects/VIATRA2/index.html/
Schürr, A., Winter, A.J., Zündorf, A.: The Progres approach: Language and environment. In: Handbook of Graph Grammars and Computing by Graph Transformation: Applications, Languages and Tools. World Scientific, Singapore (1997)
Thurston, A.D., Cordy, J.R.: Evolving TXL. In: 6th Int. Workshop on Source Code Analysis and Manipulation (SCAM 2006) (2006)
Tratt, L.: The MT model transformation language. In: Proceedings of the 2006 ACM Symposium on Applied Computing (SAC 2006), Dijon, France (2006)
Varró, G., Schürr, A., Varró, D.: Benchmarking for graph transformation. In: Symposium on Visual Languages and Human-Centric Computing (2005)
W3C. XSL Transformations Version 1.0, http://www.w3.org/TR/xslt
Willink, E.: UMLX: A graphical transformation language for MDA. In: Workshop on Model Driven Architecture: Foundations and Applications (June 2003)
Winkelmann, J., Taentzer, G., Ehrig, K., Küster, J.M.: Translation of restricted OCL constraints into graph constraints for generating meta model instances by graph grammars. Electron. Notes Theor. Comput. Sci. 211, 159–170 (2008)
Zhang, H., Cordy, J.: XML 1.0. Grammar and Well-formedness Checker, 2nd edn., http://www.txl.ca/nresources.html
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2009 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Liang, H., Dingel, J. (2009). A Practical Evaluation of Using TXL for Model Transformation. In: Gašević, D., Lämmel, R., Van Wyk, E. (eds) Software Language Engineering. SLE 2008. Lecture Notes in Computer Science, vol 5452. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-00434-6_16
Download citation
DOI: https://doi.org/10.1007/978-3-642-00434-6_16
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-642-00433-9
Online ISBN: 978-3-642-00434-6
eBook Packages: Computer ScienceComputer Science (R0)