Abstract
Graph grammars based on contextual hyperedge replacement (CHR) extend the generative power of the well-known hyperedge replacement (HR) grammars to an extent that makes them useful for practical modeling. Recent work has shown that acyclicity is a key condition for parsing CHR grammars efficiently. In this paper we show that acyclicity of CHR grammars is decidable and that the generative power of acyclic CHR grammars lies strictly between that of HR grammars and unrestricted CHR grammars.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Berglund, M.: Analyzing and pumping hyperedge replacement formalisms in a common framework. In: Echahed, R., Plump, D. (eds.) Pre-Proceedings Tenth International Workshop on Graph Computation Models, GCM@STAF 2019, Eindhoven, The Netherlands, 17 July 2019, pp. 17–32 (2019)
Drewes, F., Habel, A., Kreowski, H.J.: Hyperedge replacement graph grammars. In: Rozenberg, G. (ed.) Handbook of Graph Grammars and Computing by Graph Transformation. Vol. I: Foundations, chap. 2, pp. 95–162. World Scientific, Singapore (1997)
Drewes, F., Hoffmann, B.: Contextual hyperedge replacement. Acta Informatica 52(6), 497–524 (2015). https://doi.org/10.1007/s00236-015-0223-4
Drewes, F., Hoffmann, B., Minas, M.: Contextual hyperedge replacement. In: Schürr, A., Varró, D., Varró, G. (eds.) AGTIVE 2011. LNCS, vol. 7233, pp. 182–197. Springer, Heidelberg (2012). https://doi.org/10.1007/978-3-642-34176-2_16
Drewes, F., Hoffmann, B., Minas, M.: Predictive top-down parsing for hyperedge replacement grammars. In: Parisi-Presicce, F., Westfechtel, B. (eds.) ICGT 2015. LNCS, vol. 9151, pp. 19–34. Springer, Cham (2015). https://doi.org/10.1007/978-3-319-21145-9_2
Drewes, F., Hoffmann, B., Minas, M.: Predictive shift-reduce parsing for hyperedge replacement grammars. In: de Lara, J., Plump, D. (eds.) ICGT 2017. LNCS, vol. 10373, pp. 106–122. Springer, Cham (2017). https://doi.org/10.1007/978-3-319-61470-0_7
Drewes, F., Hoffmann, B., Minas, M.: Extending predictive shift-reduce parsing to contextual hyperedge replacement grammars. In: Guerra, E., Orejas, F. (eds.) ICGT 2019. LNCS, vol. 11629, pp. 55–72. Springer, Cham (2019). https://doi.org/10.1007/978-3-030-23611-3_4
Drewes, F., Hoffmann, B., Minas, M.: Formalization and correctness of predictive shift-reduce parsers for graph grammars based on hyperedge replacement. J. Log. Algebr. Methods Program. (JLAMP) 104, 303–341 (2019). https://doi.org/10.1016/j.jlamp.2018.12.006
Drewes, F., Hoffmann, B., Minas, M.: Rule-based top-down parsing for acyclic contextual hyperedge replacement grammars. In: Gadducci, F., Kehrer, T. (eds.) ICGT 2021. LNCS, vol. 12741, pp. 164–184. Springer, Cham (2021). https://doi.org/10.1007/978-3-030-78946-6_9
Ehrig, H., Ehrig, K., Prange, U., Taentzer, G.: Fundamentals of Algebraic Graph Transformation. EATCS Monographs, Springer, Heidelberg (2006). https://doi.org/10.1007/3-540-31188-2
Habel, A.: Hyperedge Replacement: Grammars and Languages. LNCS, vol. 643. Springer, Heidelberg (1992). https://doi.org/10.1007/BFb0013875
Habel, A., Kreowski, H., Vogler, W.: Metatheorems for decision problems on hyperedge replacement graph languages. Acta Informatica 26(7), 657–677 (1989). https://doi.org/10.1007/BF00288976
Jazayeri, M., Ogden, W.F., Rounds, W.C.: The intrinsically exponential complexity of the circularity problem for attribute grammars. Commun. ACM 18(12), 697–706 (1975). https://doi.org/10.1145/361227.361231
Knuth, D.E.: Semantics of context-free languages. Math. Sys. Theory 2(2), 127–145 (1968). https://doi.org/10.1007/BF01692511. Correction: [15]
Knuth, D.E.: Semantics of context-free languages: correction. Math. Sys. Theory 5(2), 95–96 (1971). https://doi.org/10.1007/BF01702865
Navarro, M., Orejas, F., Pino, E., Lambers, L.: A navigational logic for reasoning about graph properties. J. Log. Algebraic Methods Program. 118, 100616 (2021). https://doi.org/10.1016/j.jlamp.2020.100616
Author information
Authors and Affiliations
Corresponding authors
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2022 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
Cite this paper
Drewes, F., Hoffmann, B., Minas, M. (2022). Acyclic Contextual Hyperedge Replacement: Decidability of Acyclicity and Generative Power. In: Behr, N., Strüber, D. (eds) Graph Transformation. ICGT 2022. Lecture Notes in Computer Science, vol 13349. Springer, Cham. https://doi.org/10.1007/978-3-031-09843-7_1
Download citation
DOI: https://doi.org/10.1007/978-3-031-09843-7_1
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-09842-0
Online ISBN: 978-3-031-09843-7
eBook Packages: Computer ScienceComputer Science (R0)