Automatic construction of incremental LR(1)—parsers

  • Authors:
  • Dashing Yeh;Uwe Kastens

  • Affiliations:
  • Tongji University, Shanghai, P.R. China;University of Paderborn, Paderborn, FRG

  • Venue:
  • ACM SIGPLAN Notices
  • Year:
  • 1988

Quantified Score

Hi-index 0.00

Visualization

Abstract

An effective method is presented for automatic construction of incremental LR(1) parsers. The resulting parsers allow multiple modifications of the original input as well as epsilon productions in the underlying LR(1) grammar. For parsing a modified input, their space require ment depends linear on the length of the input and their runtime is proportional to the total size of the modifications. The method has been implemented for experimental purposes.