Operator precedence languages were introduced half a century ago by Robert Floyd to support deterministic and efficient parsing of context-free languages. Recently, we renewed our interest in this class of languages thanks to a few distinguishing properties that make them attractive for exploiting various modern technologies. Precisely, their local parsability enables parallel and incremental parsing, whereas their closure properties make them amenable to automatic verification techniques, including model checking. In this paper we provide a fairly complete theory of this class of languages: we introduce a class of automata with the same recognizing power as the generative power of their grammars; we provide a characterization of their sentences in terms of monadic second-order logic as has been done in previous literature for more restricted language classes such as regular, parenthesis, and input-driven ones; we investigate preserved and lost properties when extending the language sentences from finite length to infinite length (ω-languages). As a result, we obtain a class of languages that enjoys many of the nice properties of regular languages (closure and decidability properties, logic characterization) but is considerably larger than other families - typically parenthesis and input-driven ones - with the same properties, covering "almost" all deterministic languages.

Operator precedence languages : their automata-theoretic and logic characterization / V. Lonati, D. Mandrioli, F. Panella, M. Pradella. - In: SIAM JOURNAL ON COMPUTING. - ISSN 0097-5397. - 44:4(2015), pp. 1026-1088. [10.1137/140978818]

Operator precedence languages : their automata-theoretic and logic characterization

V. Lonati
Primo
;
2015

Abstract

Operator precedence languages were introduced half a century ago by Robert Floyd to support deterministic and efficient parsing of context-free languages. Recently, we renewed our interest in this class of languages thanks to a few distinguishing properties that make them attractive for exploiting various modern technologies. Precisely, their local parsability enables parallel and incremental parsing, whereas their closure properties make them amenable to automatic verification techniques, including model checking. In this paper we provide a fairly complete theory of this class of languages: we introduce a class of automata with the same recognizing power as the generative power of their grammars; we provide a characterization of their sentences in terms of monadic second-order logic as has been done in previous literature for more restricted language classes such as regular, parenthesis, and input-driven ones; we investigate preserved and lost properties when extending the language sentences from finite length to infinite length (ω-languages). As a result, we obtain a class of languages that enjoys many of the nice properties of regular languages (closure and decidability properties, logic characterization) but is considerably larger than other families - typically parenthesis and input-driven ones - with the same properties, covering "almost" all deterministic languages.
Monadic second-order logic; Operator precedence; Visibly pushdown languages; ω-languages; Mathematics (all); Computer Science (all)
Settore INF/01 - Informatica
2015
Article (author)
File in questo prodotto:
File Dimensione Formato  
140978818.pdf

accesso aperto

Tipologia: Publisher's version/PDF
Dimensione 681.03 kB
Formato Adobe PDF
681.03 kB Adobe PDF Visualizza/Apri
Pubblicazioni consigliate

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/2434/352809
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 21
  • ???jsp.display-item.citation.isi??? 15
social impact