Skip to main content

An Approach of Model Transformation Based on Attribute Grammars

  • Conference paper
Object-Oriented Information Systems (OOIS 2003)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 2817))

Included in the following conference series:

Abstract

Attribute grammars have been developed by Knuth [9] for the specification and implementation of static semantic aspects of programming languages. Since then, they have matured into a recognized field of study with many applications [17]. In this paper, we propose a system for transformation of information system models based on this formalism. First, the problem will be defined followed by the necessity for model transformation. Next, some model transformations approaches are presented, with special attention to XSLT. This brief survey gives the characteristics of the problem of model transformation and situates our approach. The semantics offered by attribute grammars brings the rigor of formal semantics while providing good performance at the implementation by a specific software called an evaluator. Thus, our system architecture consists essentially in defining a textual abstract syntax of the source meta-models and in building an attribute grammar to express the transformation. The input of the automatically generated evaluator is some text describing the source model, the syntax of which is defined by an abstract syntax. The output of the evaluator is another text corresponding to the target model in accordance with its grammar. In the last section, the characteristics and the benefits of our approach are discussed.

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 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.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. Aho, A., et al.: Compilateurs principes, techniques et outils. InterEditions (1989)

    Google Scholar 

  2. Akehust, D., Kent, S.: A Relational Approach to Defining Transformation in a Meta-Model. In: Jézéquel, J.-M., Hussmann, H., Cook, S. (eds.) UML 2002. LNCS, vol. 2460, p. 243. Springer, Heidelberg (2002)

    Google Scholar 

  3. Blanc, X.: Échange de spécifications hétérogènes et reparties. PhD thesis (2001)

    Google Scholar 

  4. Cuny, J., et al.: Graph-grammars and their application in computer science. In: Cuny, J., Engels, G., Ehrig, H., Rozenberg, G., et al. (eds.) Graph Grammars 1994. LNCS, vol. 1073. Springer, Heidelberg (1996)

    Chapter  Google Scholar 

  5. Deransart, J., Jourdan, M.: Attribute Grammars and their Applications. In: Deransart, P., Jourdan, M. (eds.) Attribute Grammars and their Applications. LNCS, vol. 461. Springer, Heidelberg (1990)

    Google Scholar 

  6. Ho, W., et al.: UMLAUT an extensible UML transformation framework. In: ASE 1999, IEEE, Los Alamitos (1999)

    Google Scholar 

  7. Jazayeri, M., et al.: The intrinsically exponential complexity of the circularity problem for attribute grammars. ACM 18, 679–706 (1975)

    Article  MathSciNet  Google Scholar 

  8. Kastens, U.: Ordered Attributed Grammars. Acta Informatica 13(3), 229–256 (1980)

    Article  MATH  MathSciNet  Google Scholar 

  9. Knuth, D.: Semantics of context free languages. Mathematical Systems theory (1968)

    Google Scholar 

  10. Lemesle, R.: Technique de Modélisation et de Méta-modélisation. PhD thesis (2000)

    Google Scholar 

  11. LeGuennec, A.: Génie Logiciel et Méthodes Formelles avec UML Spécification, Validation et Génération de tests, PhD thesis (2001)

    Google Scholar 

  12. OMG, Meta Object Facility Specification v1.3, ad/99-09-05 (1999)

    Google Scholar 

  13. OMG, eXtensible Meta-data Interchange XMI specification version 1.1, ad/00-11-02 (2000)

    Google Scholar 

  14. OMG, eXtensible StyleSheet Language Transformation version 1.0 (1999)

    Google Scholar 

  15. Paakki, J.: Attribute Grammar paradigms – A high-level methodology. ACM Computer Surveys 27(2) (1995)

    Google Scholar 

  16. Parigot, D., et al.: L’apport des technologies XML et objets pour un générateur d’environnements: SmartTools, revue Objet (October 2002)

    Google Scholar 

  17. Parigot, D.: Transformations, Évaluation incrémentale et optimisations des grammaires attribuées: le système FNC-2, PhD thesis (1988)

    Google Scholar 

  18. Reps, W., Teitelbaum, T.: The Synthesizer Generator: A system for constructing languagebased editors. Springer, Heidelberg (1989)

    Google Scholar 

  19. Reps, T.T.: The Synthesizer Generator. In Proc. ACM SIGSOFT/SIGPLAN (Pittsburgh, PA, April 1984), ACM/SIGPLAN Notices 19 (May 1984)

    Google Scholar 

  20. Schmidth, D.A.: Denotational Semantics, A methodology for language Development Wm C.Brown Publishers Dubuque, Iowa (1988)

    Google Scholar 

  21. Slonneger, K., Kurts, B.: Formal Syntax and Semantics of Programming Languages. Addition Wesley, Reading (1995)

    MATH  Google Scholar 

  22. Watt, D.A.: Programming Language Syntax and Semantics. Prentice-Hall, Englewood Cliffs (1991)

    Google Scholar 

  23. Whittle, J.: Transformation and software modeling language: automatic transformation in UML. In: Jézéquel, J.-M., Hussmann, H., Cook, S. (eds.) UML 2002. LNCS, vol. 2460, p. 227. Springer, Heidelberg (2002)

    Google Scholar 

  24. Yeh, D.: On incremental evaluation of ordered attributed grammars. BIT 23 (1983)

    Google Scholar 

  25. Zündorf, A.: Graph pattern matching with PROGRES. In: Cuny, J., Engels, G., Ehrig, H., Rozenberg, G. (eds.) Graph Grammars 1994. LNCS, vol. 1073. Springer, Heidelberg (1996)

    Chapter  Google Scholar 

  26. http://www.dstc.com/Products/CORBA/MOF

  27. http://universalis.elibel.tm.fr/site/

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2003 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Dehayni, M., Féraud, L. (2003). An Approach of Model Transformation Based on Attribute Grammars. In: Konstantas, D., Léonard, M., Pigneur, Y., Patel, S. (eds) Object-Oriented Information Systems. OOIS 2003. Lecture Notes in Computer Science, vol 2817. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-45242-3_42

Download citation

  • DOI: https://doi.org/10.1007/978-3-540-45242-3_42

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-40860-4

  • Online ISBN: 978-3-540-45242-3

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics