• Home
  • Search
  • A practical arbitrary look-ahead LR parsing technique
  • Cite Icon14
  • https://doi.org/10.1145/12276.13325Copy DOI Icon

A practical arbitrary look-ahead LR parsing technique

  • Jul 1, 1986
  • Manuel E Bermudez +1 more
Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

We present a practical technique that provides an LR (0) parser with either fixed or arbitrary look-ahead. The construction algorithm is based on certain paths in the LR (0) state diagram, which must be restricted to a maximum length m. The technique determines the amount of look-ahead required, and the user is spared the task of guessing it. Instead, the user provides m. In situations where single symbol look-ahead is sufficient, the corresponding grammar class (called LAR (m )) is identical to the NQLALR (1) class. For practical grammars that require arbitrary look-ahead, the storage requirements typically do not exceed an amount linear in the size of the corresponding LR (0) parser. The technique is shown to work for a practical programming language grammar, and has been used to solve particular cases of the PL/1 keyword problem.

Similar Papers
  • Research Article
  • Citations7

A practical arbitrary look-ahead LR parsing technique

  • Jul 01, 1986
  • ACM SIGPLAN Notices
  • Manuel E Bermudez +1
  • Research Article
  • Citations4

A unifying model for lookahead LR parsing

  • Jan 01, 1991
  • Computer Languages
  • Manuel E Bermudez
  • Book Chapter
  • Citations4

A compiler generator for attribute evaluation during LR parsing

  • Jan 01, 1989
  • Jorma Tarhio
  • Video Transcripts

StructFormer: Joint Unsupervised Induction of Dependency and Constituency Structure from Masked Language Modeling

  • Aug 01, 2021
  • Underline Science Inc.
  • Aaron Courville +5
  • Research Article
  • Citations30

Practical arbitrary lookahead LR parsing

  • Oct 01, 1990
  • Journal of Computer and System Sciences
  • Manuel E Bermudez +1
  • Research Article
  • Citations10

Efficient algorithms for automatic construction and compactification of parsing

  • Oct 01, 1987
  • ACM Transactions on Programming Languages and Systems
  • D J Rosenkrantz +1
  • Research Article
  • Citations10

A forward move algorithm for LL and LR parsers

  • Jun 01, 1982
  • ACM SIGPLAN Notices
  • Jon Mauney +1
  • Research Article
  • Citations2

Tractable Parsing for CCGs of Bounded Degree

  • Sep 01, 2022
  • Computational Linguistics
  • Lena Katharina Schiffer +2
  • Research Article
  • Citations104

Generalized probabilistic LR parsing of natural language (Corpora) with unification-based grammars

  • Mar 01, 1993
  • Computational Linguistics
  • Briscoeted +1
  • Research Article

Adding a true 3-D display to raster graphics system: Fuchs, H, Pizer, S M, Tsai, L-C, Bloomberg, S H and Heinz, E R IEEE C G and A (September 1982) pp 73–78

  • Jul 01, 1983
  • Microprocessors and Microsystems
  • Conference Article
  • Citations1

Distributional Learning as a Theory of Language Acquisition

  • Jan 01, 2014
  • Alexander Clark
  • Conference Article
  • Citations3

Stack and Queue Based Parser Approach for Parsing Expression Grammar

  • Apr 28, 2023
  • Shravankumar Purve +2
  • Book Chapter
  • Citations9

Parse Forest Diagnostics with Dr. Ambiguity

  • Jan 01, 2011
  • Hendrikus J S Basten +1
  • Research Article
  • Citations86

The Syntax of Programming Languages-A Survey

  • Aug 01, 1964
  • IEEE Transactions on Electronic Computers
  • Robert W Floyd
  • Research Article

Implementation of content and language integrated learning (clil) methodology in the process of teaching “practical grammar of the english language” for the 1 st -year students of higher educational establishments of Ukraine

  • May 25, 2019
  • Science and Education a New Dimension
  • I V Shevchenko +1
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.