Parallel parsing of operator precedence grammars

  • Authors:
  • Alessandro Barenghi;Stefano Crespi Reghizzi;Dino Mandrioli;Matteo Pradella

  • Affiliations:
  • DEIB - Politecnico di Milano, Piazza Leonardo da Vinci, 32, I-20133 Milano, Italy;DEIB - Politecnico di Milano, Piazza Leonardo da Vinci, 32, I-20133 Milano, Italy;DEIB - Politecnico di Milano, Piazza Leonardo da Vinci, 32, I-20133 Milano, Italy;DEIB - Politecnico di Milano, Piazza Leonardo da Vinci, 32, I-20133 Milano, Italy

  • Venue:
  • Information Processing Letters
  • Year:
  • 2013

Quantified Score

Hi-index 0.89

Visualization

Abstract

Operator precedence grammars, introduced by Floyd several decades ago, enjoy properties that make them very attractive to face problems and to exploit technologies highly relevant in these days. In this paper we focus on their local parsability property, i.e., the fact that any substring s of a longer one x.s.y can be parsed independently of its context without the risk of invalidating the partial parsing when analyzing another portion of the whole string. We exploit this distinguishing property by developing parallel algorithms and suggest its further application to error recovery and incremental analysis. Great savings in terms of computational complexity are theoretically proved and have been reached in practice by first prototype tools.