Abstract
Model transformation is a key aspect of model-driven software development because it enables the automatic derivation of different interpretations of a system model. In many scenarios (e.g., design of domain-specific languages), models usually have implicit identifiable primary tree-like syntactic structures, on which additional secondary relationships are imposed to yield the final model graphs. Therefore, in these scenarios it seems natural to address the processing of these models on the basis of their underlying syntactic structure. For this purpose, we have developed AGT, an experimental transformation framework based on attribute grammars, which takes full advantage of the underlying syntactic structure of source models. For models in which this structure is clearly identifiable, the approach could result more natural and easier to use and maintain than other more conventional model transformation approaches (e.g., those based on more standard model transformation languages).
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Dehayni, M., Féraud, L.: An approach of model transformation based on attribute grammars. In: Masood, A., Léonard, M., Pigneur, Y., Patel, S. (eds.) OOIS 2003. LNCS, vol. 2817, pp. 412–423. Springer, Heidelberg (2003)
Rozenberg, G. (ed.): Handbook of graph grammars and computing by graph transformation: volume I. foundations. World Scientific Publishing Co., River Edge (1997)
Paakki, J.: Attribute grammar paradigms - a high-level methodology in language implementation. ACM Comput. Surv. 27(2), 196–255 (1995)
Sarasa-Cabezuelo, A., Sierra, J.L.: Grammar-driven development of JSON processing applications. In: FedCSIS 2013, pp. 1545–1552 (2013)
Sarasa-Cabezuelo, A., Sierra, J.L.: The grammatical approach: a syntax-directed declarative specification method for XML processing tasks. Comput. Stand. Interfaces 35(1), 114–131 (2013)
Acknowledgements
We would like to thank Juan-Pablo Gracia-Benitez by contributing to a preliminary implementation of the framework. This work has been partially supported by the BBVA Foundation (research grant HUM14_251), by the Spanish R&D&I Plan (research grant TIN2014-52010-R), and by Santander-UCM GR3/14 (group number 962022).
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2015 Springer International Publishing Switzerland
About this paper
Cite this paper
Sarasa-Cabezuelo, A., Sierra, JL. (2015). A Syntax-Directed Model Transformation Framework Based on Attribute Grammars. In: Sierra-Rodríguez, JL., Leal, JP., Simões, A. (eds) Languages, Applications and Technologies. SLATE 2015. Communications in Computer and Information Science, vol 563. Springer, Cham. https://doi.org/10.1007/978-3-319-27653-3_14
Download citation
DOI: https://doi.org/10.1007/978-3-319-27653-3_14
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-27652-6
Online ISBN: 978-3-319-27653-3
eBook Packages: Computer ScienceComputer Science (R0)