Abstract
We discuss the open problem of parsing the Dyck language of 3 symbols, \(D^3\), using a 2-Multiple Context-Free Grammar. We attempt to tackle this problem by implementing a number of novel meta-grammatical techniques and present the associated software packages we developed.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
- 2.
An avid reader will notice the use of the \(\mathcal {O}\) meta-rule in the ARIS algorithm.
- 3.
References
Chatterjee, K., Choudhary, B., Pavlogiannis, A.: Optimal Dyck reachability for data-dependence and alias analysis. Proc. ACM Program. Lang. 2(POPL), 30 (2017)
Gazdar, G.: Phrase structure grammar. In: Jacobson, P., Pullum, G.K. (eds.) The Nature of Syntactic Representation. Synthese Language Library (Texts and Studies in Linguistics and Philosophy), vol. 15, pp. 131–186. Springer, Dordrecht (1982). https://doi.org/10.1007/978-94-009-7707-5_5
Gazdar, G., Klein, E., Pullum, G.K., Sag, I.A.: Generalized Phrase Structure Grammar. Harvard University Press, Cambridge (1985)
Kanazawa, M., Salvati, S.: MIX is not a tree-adjoining language. In: Proceedings of the 50th Annual Meeting of the Association for Computational Linguistics: Long Papers-Volume 1. pp. 666–674. Association for Computational Linguistics (2012)
Kuperberg, G.: Spiders for rank 2 Lie algebras. Commun. Math. Phys. 180(1), 109–151 (1996)
Lewis, H.R., Papadimitriou, C.H.: Elements of the Theory of Computation. Prentice Hall PTR, New Jersey (1997)
Ljunglöf, P.: Practical parsing of parallel multiple context-free grammars. In: Workshop on Tree Adjoining Grammars and Related Formalisms, p. 144 (2012)
Moortgat, M.: A note on multidimensional Dyck languages. In: Casadio, C., Coecke, B., Moortgat, M., Scott, P. (eds.) Categories and Types in Logic, Language, and Physics. LNCS, vol. 8222, pp. 279–296. Springer, Heidelberg (2014). https://doi.org/10.1007/978-3-642-54789-8_16
Nederhof, M.J., Shieber, S., Satta, G.: Partially ordered multiset context-free grammars and ID/LP parsing. Association for Computational Linguistics (2003)
Petersen, T.K., Pylyavskyy, P., Rhoades, B.: Promotion and cyclic sieving via webs. J. Algebr. Comb. 30(1), 19–41 (2009)
Reape, M.: Getting things in order. Discontinuous Const. 6, 209–253 (1996)
Reps, T.: Program analysis via graph reachability. Inf. Softw. Technol. 40(11–12), 701–726 (1998)
Reps, T., Horwitz, S., Sagiv, M.: Precise interprocedural dataflow analysis via graph reachability. In: Proceedings of the 22nd ACM SIGPLAN-SIGACT symposium on Principles of programming languages, pp. 49–61. ACM (1995)
Salvati, S.: MIX is a 2-MCFL and the word problem in \(Z^2\) is solved by a third-order collapsible pushdown automaton. J. Comput. Syst. Sci. 81(7), 1252–1277 (2015)
Seki, H., Matsumura, T., Fujii, M., Kasami, T.: On multiple context-free grammars. Theor. Comput. Sci. 88(2), 191–229 (1991)
Wijngaarden, A.: The generative power of two-level grammars. In: Loeckx, J. (ed.) ICALP 1974. LNCS, vol. 14, pp. 9–16. Springer, Heidelberg (1974). https://doi.org/10.1007/978-3-662-21545-6_1
Acknowledgements
We would like to thank Michael Moortgat for introducing us to the problem, providing insightful feedback and motivating us throughout the process, as well as Jurriaan Hage for suggesting the use of multi-dimensional Dyck languages in static program analysis.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2019 Springer-Verlag GmbH Germany, part of Springer Nature
About this paper
Cite this paper
Kogkalidis, K., Melkonian, O. (2019). Towards a 2-Multiple Context-Free Grammar for the 3-Dimensional Dyck Language. In: Sikos, J., Pacuit, E. (eds) At the Intersection of Language, Logic, and Information. ESSLLI 2018. Lecture Notes in Computer Science(), vol 11667. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-662-59620-3_5
Download citation
DOI: https://doi.org/10.1007/978-3-662-59620-3_5
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-662-59619-7
Online ISBN: 978-3-662-59620-3
eBook Packages: Computer ScienceComputer Science (R0)