Parallel parsing of operator precedence grammars

被引:9
|
作者
Barenghi, Alessandro [1 ]
Reghizzi, Stefano Crespi [1 ]
Mandrioli, Dino [1 ]
Pradella, Matteo [1 ]
机构
[1] DEIB Politecn Milano, I-20133 Milan, Italy
关键词
Formal languages; Parallel algorithms; Operator precedence languages; Local parsability; Parallel parsing; Incremental parsing; LANGUAGES; SUBSTRINGS;
D O I
10.1016/j.ipl.2013.01.008
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
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. (C) 2013 Elsevier B.V. All rights reserved.
引用
收藏
页码:245 / 249
页数:5
相关论文
共 50 条