PL/C

From Wikipedia, the free encyclopedia
Jump to: navigation, search
PL/C
Paradigm(s) procedural, imperative, structured
Developer Cornell University
Appeared in early 1970s (early 1970s)
Typing discipline strong
Influenced by PL/I

PL/C is a computer programming language developed at Cornell University with the specific goal of being used for teaching programming. It is based on IBM's PL/I language, and was designed in the early 1970s. Cornell also developed a compiler for the language that was based on its earlier CUPL compiler, and it was widely used in college-level programming courses. The two researchers and academic teachers who designed PL/C were Richard W. Conway and Thomas R. Wilcox.[1] They submitted the famous article "Design and implementation of a diagnostic compiler for PL/I" published in the Communications of ACM in March 1973, pages 169-179. PL/C eliminated some of the more complex features of PL/I, and added extensive debugging and error recovery facilities. PL/C is a subset of PL/I. A program that runs without error under the PL/C compiler should run under PL/I and produce the same results, unless certain incompatible diagnostic features, such as a macro section (begun by a $MACRO statement and finished by a $MEND statement), were used. The PL/C compiler had the unusual capability of never failing to compile any program, through the use of extensive automatic correction of many syntax errors and by converting any remaining syntax errors to output statements.

See also[edit]

References[edit]

  1. ^ R.W. Conway and D. Gries (1975). An introduction to programming: A structured approach using PL/1 and PL/C-7. Cambridge, Mass.: Winthrop Publishers. ISBN 0-87626-410-0.