Abstract
The efficient parsing algorithms are usually confined to confluent graph grammars in context-sensitive formalisms, whereas the confluence condition is not frequently met by graph grammars in practical applications. This paper, based on the Reserved Graph Grammar (RGG) formalism, proposes an extended formalism XRGG which allows imposing constraints characterizing application situations on graph productions. The constraints can make the redexes of the XRGG productions' right graphs mutually exclusive so as to ensure the confluence of the corresponding graph grammar. Then an algorithm is developed to construct a confluent XRGG graph grammar from an RGG grammar with non-confluent productions for tackling identical graph languages. This method can be easily generalized to other context-sensitive graph grammar formalisms, thus making the efficient parsing algorithm of the RGG that depends on confluent graph grammars more widely applicable.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
Rekers J., Schürr A.: Defining and Parsing Visual Languages with Layered Graph Grammars. Journal of Visual Languages and Computing 8(1), 27–55 (1997)
Zhang D.Q., Zhang K., Cao J.: A Context-Sensitive Graph Grammar Formalism for the Specification of Visual Languages. The Computer Journal 44(3), 187–200 (2001)
Zhang K., Zhang D.Q., Deng Y.: A Visual Approach to XML Document Design and Transformation. In: 18th IEEE International Symposium on Human-Centric Computing Languages and Environments, pp. 312–319. IEEE Press, Washington, DC (2001)
Zhang K., Kong J., Qiu M.K., G.L. Song: Multimedia Layout Adaptation through Grammatical Specifications. ACM/Springer Multimedia Systems 10(3), 245–260 (2005)
Kong J., Zhang K., Zeng X.: Spatial Graph Grammars for Graphical User Interfaces. ACM Transactions on Computer-Human Interaction 13(2), 268–307 (2006)
Song G.L., Zhang K., Kong J.: Model Management through Graph Transformations. In: 21st IEEE International Symposium on Visual Languages and Human-Centric Computing, pp. 75–82. IEEE Press, Washington, DC (2004)
Zhao C.Y., Kong J., Dong J., Zhang K.: Pattern Based Design Evolution Using Graph Transformation. Journal of Visual Languages and Computing 18(4), 378–398 (2007)
Zou Y., Zeng X.Q., Han X.Q., Zhang K.: Context-Attributed Graph Grammar Framework for Specifying Visual Languages. Journal of Southeast University (English Edition) 24(4), 455-461 (2008)
Zeng X.Q., Han X.Q., Zou Y.: An Edge-Based Context-Sensitive Graph Grammar Formalism. Journal of Software 19(8), 1893–1901 (2008) (in Chinese)
Zeng X.Q., Zhang K., Kong J., Song G.L.: RGG+: An Enhancement to the Reserved Graph Grammar Formalism. In: 22nd IEEE International Symposium on Visual Languages and Human-Centric Computing, pp. 272–274. IEEE Press, Washington, DC (2005)
Bottoni P., Taentzer G., Schürr A.: Efficient Parsing of Visual Languages based on Critical Pair Analysis and Contextual Layered Graph Transformation. In: 17th IEEE International Symposium on Visual Languages, pp.5–60. IEEE Press, Washington, DC (2000)
Acknowledgments
This work is supported by the National Grand Fundamental Research Program of China (973) under grant 2009CB320702, and the National Natural Science Foundation of China under grants 60571948, 60673186, 60736015 and 60721002.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2009 Springer-Verlag US
About this paper
Cite this paper
Zou, Y., Lü, J., Zeng, X., Ma, X., Yang, Q. (2009). Constructing Confluent Context-sensitive Graph Grammars from Non-confluent Productions for Parsing Efficiency. In: Huang, M., Nguyen, Q., Zhang, K. (eds) Visual Information Communication. Springer, Boston, MA. https://doi.org/10.1007/978-1-4419-0312-9_8
Download citation
DOI: https://doi.org/10.1007/978-1-4419-0312-9_8
Published:
Publisher Name: Springer, Boston, MA
Print ISBN: 978-1-4419-0311-2
Online ISBN: 978-1-4419-0312-9
eBook Packages: Computer ScienceComputer Science (R0)