Cornell University
Library
Cornell UniversityLibrary

eCommons

Help
Log In(current)
  1. Home
  2. Cornell Computing and Information Science
  3. Computer Science
  4. Computer Science Technical Reports
  5. Design and Implementation of a Diagnostic Compiler for PL/I

Design and Implementation of a Diagnostic Compiler for PL/I

File(s)
71-107.ps (777.27 KB)
71-107.pdf (3.76 MB)
Permanent Link(s)
https://hdl.handle.net/1813/5952
Collections
Computer Science Technical Reports
Author
Conway, Richard W.
Wilcox, Thomas R.
Abstract

PL/C is a compiler for a dialect for PL/I. The design objective was to provide a maximum degree of diagnostic assistance in a batch processing environment. For the most part this assistance is implicit and is provided automatically by the compiler. The most remarkable characteristic of PL/C is its perseverance -- it completes translation of every program submitted and continues execution until a user-established error limit is reached. This requires that the compiler repair errors encountered during both translation and execution, and the design of PL/C is dominated by this consideration. PL/C also introduces several explicit user-controlled facilities for program testing. Some are conventional, providing a convenient high-level trace and dump capability. An experimental version of PL/C also permits the user to controllably reverse the direction of program execution and to write routines that are asynchronously invoked when an arbitrary condition becomes true. To accomodate these extensions to PL/I without abandoning compatibility with the IBM compiler, PL/C permits `pseudo-comments' - constructions whose contents can optionally be considered either source text or comment. In spite of th ediagnostic effort PL/C is a fast and efficient processor. It effectively demonstrates that compilers can provide better diagnostic assistance than is customarily offered, even when a sophisticated source language is employed, and that this assistance need not be prohibitively costly. Key Words and Phrases: Compilers, Debugging, PL/I

Date Issued
1971-09
Publisher
Cornell University
Keywords
computer science
•
technical report
Previously Published as
http://techreports.library.cornell.edu:8081/Dienst/UI/1.0/Display/cul.cs/TR71-107
Type
technical report

Site Statistics | Help

About eCommons | Policies | Terms of use | Contact Us

copyright © 2002-2026 Cornell University Library | Privacy | Web Accessibility Assistance