Where academic tradition
meets the exciting future

Grammars with Two-Sided Contexts

Mikhail Barash, Alexander Okhotin, Grammars with Two-Sided Contexts. In: Zoltan Esik, Zoltan Fulop (Eds.), Proceedings 14th International Conference on Automata and Formal Languages, 94–108, EPTCS, 2014.

http://dx.doi.org/10.4204/EPTCS.151

Abstract:

In a recent paper (M. Barash, A. Okhotin, "Defining contexts in context-free grammars", LATA 2012), the authors introduced an extension of the context-free grammars equipped with an operator for referring to the left context of the substring being defined. This paper proposes a more general model, in which context specifications may be two-sided, that is, both the left and the right contexts can be specified by the corresponding operators. The paper gives the definitions and establishes the basic theory of such grammars, leading to a normal form and a parsing algorithm working in time O(n^4), where n is the length of the input string.

BibTeX entry:

@INPROCEEDINGS{inpBaOk14a,
  title = {Grammars with Two-Sided Contexts},
  booktitle = {Proceedings 14th International Conference on Automata and Formal Languages},
  author = {Barash, Mikhail and Okhotin, Alexander},
  editor = {Esik, Zoltan and Fulop, Zoltan},
  publisher = {EPTCS},
  pages = {94–108},
  year = {2014},
}

Belongs to TUCS Research Unit(s): FUNDIM, Fundamentals of Computing and Discrete Mathematics

Edit publication