ePrints@IIScePrints@IISc Home | About | Browse | Latest Additions | Advanced Search | Contact | Help

Parallel Incremental LR Parsing

Viswanathan, N and Srikant, YN (1994) Parallel Incremental LR Parsing. In: Computer Languages, 20 (3). pp. 151-175.

[img] PDF
Restricted to Registered users only

Download (1MB) | Request a copy


A new parallel parsing algorithm for block structured languages, capable of parsing incremen- tally also, is presented. The parser is for LR grammars. A shared memory multiprocessor model is assumed. We associate processors to parse corrections independently with minimum reparsing. A new compatibility condition is used by the associated processors to terminate parsing, and prevent redoing the work of other processors. We give an efficient way of assembling the final parse tree from the individual parses. Our compatibility condition is simple and it can be computed at the parser construction time itself. Further, the compatibility condition can be tested while parsing, in constant time. The parser can be integrated into the editor. We give an estimate for speedup by our parallel parsing and parallel incremental parsing methods. We have obtained considerable speedups in simulation studies of our algorithm.

Item Type: Journal Article
Additional Information: The copyright of this article belongs to Elsevier.
Keywords: Parallel parsing;Incremental compilers;LR grammars;Programming environments; Parallel algorithms
Department/Centre: Division of Electrical Sciences > Computer Science & Automation
Depositing User: Anka Setty
Date Deposited: 30 Jun 2006
Last Modified: 19 Sep 2010 04:29
URI: http://eprints.iisc.ac.in/id/eprint/7762

Actions (login required)

View Item View Item