Linear-time suffix parsing for deterministic languages

M J Nederhof*, E Bertsch

*Corresponding author for this work

Research output: Contribution to journalArticleAcademicpeer-review

8 Citations (Scopus)

Abstract

We present a linear-time algorithm to decide for any fixed deterministic context-free language L and input string w whether w is a suffix of some string in L. In contrast to a previously published technique, the decision procedure may be extended to produce syntactic structures (parses) without an increase in time complexity. We also show how this algorithm may be applied to process incorrect input in linear time.

Original languageEnglish
Pages (from-to)524-554
Number of pages31
JournalJournal of the Association for Computing Machinery
Volume43
Issue number3
DOIs
Publication statusPublished - May-1996

Keywords

  • SYNTAX ERROR RECOVERY
  • ALGORITHM

Fingerprint

Dive into the research topics of 'Linear-time suffix parsing for deterministic languages'. Together they form a unique fingerprint.

Cite this