DOI

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{script}(n4), where n is the length of the input string.

Язык оригиналаанглийский
Страницы (с-по)94-108
Число страниц15
ЖурналElectronic Proceedings in Theoretical Computer Science, EPTCS
Том151
DOI
СостояниеОпубликовано - 21 мая 2014
Событие14th International Conference on Automata and Formal Languages, AFL 2014 - Szeged, Венгрия
Продолжительность: 27 мая 201429 мая 2014

    Предметные области Scopus

  • Программный продукт

ID: 41143023