Skip to main content

Adaptive Star Grammars for Graph Models

  • Conference paper
  • 810 Accesses

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 5214))

Abstract

Adaptive star grammars generalize well-known graph grammar formalisms based on hyperedge and node replacement while retaining, e.g., parseability and the commutativity and associativity of rule application. In this paper, we study how these grammars can be put to practical use for the definition of graph models. We show how to use adaptive star grammars to specify program graphs, models of object-oriented programs that have been devised for investigating refactoring operations. For this, we introduce notational enhancements and one proper extension (application conditions). The program graphs generated by the grammar comprise not only the nested composition of entities, but also scope rules for their declarations. Such properties cannot easily be defined by meta-models like Uml class diagrams. In contrast, adaptive star grammars cover several aspects of class diagrams.

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

Buying options

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

Learn about institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Amelunxen, C., Königs, A., Rötschke, T., Schürr, A.: MOFLON: A standard-compliant metamodeling framework with graph transformations. In: Rensink, A., Warmer, J. (eds.) ECMDA-FA 2006. LNCS, vol. 4066, pp. 361–375. Springer, Heidelberg (2006)

    Chapter  Google Scholar 

  2. Bakewell, A., Plump, D., Runciman, C.: Specifying pointer structures by graph reduction. Mathematical Structures in Computer Science (to appear, 2008)

    Google Scholar 

  3. Courcelle, B.: An axiomatic definition of context-free rewriting and its application to NLC rewriting. Theoretical Computer Science 55, 141–181 (1987)

    Article  MATH  MathSciNet  Google Scholar 

  4. Drewes, F., Hoffmann, B., Janssens, D., Minas, M.: Adaptive star grammars and their languages. Technical Report 2008-01, Departement Wiskunde-Informatica, Universiteit Antwerpen (2008)

    Google Scholar 

  5. Drewes, F., Hoffmann, B., Janssens, D., Minas, M., Van Eetvelde, N.: Adaptive star grammars. In: Corradini, A., Ehrig, H., Montanari, U., Ribeiro, L., Rozenberg, G. (eds.) ICGT 2006. LNCS, vol. 4178, pp. 77–91. Springer, Heidelberg (2006)

    Chapter  Google Scholar 

  6. Drewes, F., Hoffmann, B., Janssens, D., Minas, M., Van Eetvelde, N.: Shaped generic graph transformation. In: Schürr, A., Nagl, M., Zündorf, A. (eds.) Applications of Graph Transformation with Industrial Relevance (AGTIVE 2007). LNCS. Springer, Heidelberg (to appear, 2008)

    Google Scholar 

  7. Ehrig, H., Ehrig, K.: An overview of formal concepts for model transformations based on typed attributes graph transformation. In: Proc. Graph and Model Transformation Workshop (GraMoT 2005). Electronic Notes in Theoretical Computer Science, vol. 152(4) (2006)

    Google Scholar 

  8. Ehrig, H., Ehrig, K., Prange, U., Taentzer, G.: Fundamentals of Algebraic Graph Transformation. EATCS Monographs on Theoretical Computer Science. Springer, Heidelberg (2006)

    MATH  Google Scholar 

  9. Ehrig, K., Ermel, C., Hänsgen, S., Taentzer, G.: Generation of visual editors as eclipse plug-ins. In: ASE 2005: Proceedings of the 20th IEEE/ACM international Conference on Automated software engineering, pp. 134–143. ACM Press, New York (2005)

    Chapter  Google Scholar 

  10. EMF, Eclipse Modeling Framework web page (2006), http://www.eclipse.org/emf/

  11. Engelfriet, J.: Context-free graph grammars. In: Rozenberg, G., Salomaa, A. (eds.) Handbook of Formal Languages, Beyond Words, vol. 3, pp. 125–213. Springer, Heidelberg (1999)

    Google Scholar 

  12. Hölscher, K., Ziemann, P., Gogolla, M.: On translating uml models into graph transformation systems. J. Vis. Lang. Comput. 17(1), 78–105 (2006)

    Article  Google Scholar 

  13. Kaul, M.: Syntaxanalyse von Graphen bei Präzedenz–Graph–Grammatiken. Dissertation, Univ. Passau (1985)

    Google Scholar 

  14. Knuth, D.E.: Semantics of context-free languages. Math. Sys. Theory 2(2), 127–145 (1968); . Correction: Math. Sys. Theory 5(1), 95-96 (1971)

    Article  MATH  MathSciNet  Google Scholar 

  15. Mens, T., Demeyer, S., Janssens, D.: Formalising behaviour-preserving transformation. In: Corradini, A., Ehrig, H., Kreowski, H.-J., Rozenberg, G. (eds.) ICGT 2002. LNCS, vol. 2505, pp. 286–301. Springer, Heidelberg (2002)

    Chapter  Google Scholar 

  16. Minas, M.: Concepts and realization of a diagram editor generator based on hypergraph transformation. Science of Computer Programming 44(2), 157–180 (2002)

    Article  MATH  Google Scholar 

  17. Minas, M.: Parsing of adaptive star grammars. Electronic Communications of the European Association of Software Science and Technology 4 (2006), www.easst.org/eceasst

  18. Object Management Group. Meta Object Facility (MOF) Core Specification, version 2.0 edn., Document - formal/06-01-01 (January 2006)

    Google Scholar 

  19. Schürr, A., Winter, A., Zündorf, A.: The Progres approach: Language and environment. In: Engels, G., Ehrig, H., Kreowski, H.-J., Rozenberg, G. (eds.) Handbook of Graph Grammars and Computing by Graph Transformation, Applications, Languages, and Tools, ch. 13, vol. II, pp. 487–550. World Scientific, Singapore (1999)

    Google Scholar 

  20. Van Eetvelde, N.: A Graph Transformation Approach to Refactoring. Doctoral thesis, Universiteit Antwerpen (May 2007)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2008 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Drewes, F., Hoffmann, B., Minas, M. (2008). Adaptive Star Grammars for Graph Models. In: Ehrig, H., Heckel, R., Rozenberg, G., Taentzer, G. (eds) Graph Transformations. ICGT 2008. Lecture Notes in Computer Science, vol 5214. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-87405-8_30

Download citation

  • DOI: https://doi.org/10.1007/978-3-540-87405-8_30

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-87404-1

  • Online ISBN: 978-3-540-87405-8

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics