REFERENCE MANUAL: COMPILER PACKAGE,

Abstract

The compiler package (CP) is a collection of useful POPs, subroutines and conventions which provide a convenient framework for constructing compilers for a wide class of languages. A subroutine is provided to read a line from any input medium, with the facilities of the QED line edit if the input device happens to be the teletype. A second routine converts the source line into an internal representation in which each significant constituent of the source line has been replaced by an integer. POPs are available to make recursive calls on recognizers which attempt to analyze the line. Finally, code can be put onto a list of compiled instructions; insertions are possible at any point on the list, and when the statement is completely analyzed the compiled code can be transcribed into core and, if desired, printed out in symbolic form. A collection of miscellaneous routines provide for error correction, control of panics, initialization, pagination and a limited amount of control over three word/cell forward-chained lists which are used by the code generator.

Document Details

Document Type
Technical Report
Publication Date
May 18, 1966
Accession Number
AD0707366

Entities

People

  • Butler W. Lampson

Organizations

  • University of California, Berkeley

Tags

DTIC Thesaurus Topics

  • Compilers
  • Computer Programs
  • Digital Information
  • Generators
  • Instructions
  • Language
  • Procedures (Computers)

Readers

  • Computer Science.
  • Educational Psychology
  • Library and Information Science