Error Handling in the TRIDENT Compiler.

Abstract

This paper describes briefly the error recovery strategy used within the LALR parser of the TRIDENT Compiler. The main part deals with an analysis of error situations that can occur in a Context Parser. This analysis is based on a classification of terminals, non-terminals, and heads according to certain syntactic characteristics. This information can be encoded in a table which allows error recovery to be table driven. This approach is used in the TRIDENT Compiler for parsing statements and expressions. (Author)

Open PDF

Document Details

Document Type
Technical Report
Publication Date
Sep 01, 1978
Accession Number
ADA069496

Entities

People

  • Hartmut G. Huber

Organizations

  • Naval Surface Warfare Center Dahlgren Division

Tags

Communities of Interest

  • Weapons Technologies

DTIC Thesaurus Topics

  • Classification
  • Compilers
  • Computer Programming
  • Computer Programs
  • Computer Science
  • Computers
  • Debugging
  • Environment
  • Grammars
  • Language
  • Law
  • Object Code
  • Production
  • Programming Languages
  • Recovery
  • Sequences
  • Transitions

Readers

  • Approximation Theory.
  • Computational Linguistics
  • Maritime and Naval Warfare Studies