Accession Number:

AD0707366

Title:

REFERENCE MANUAL: COMPILER PACKAGE,

Descriptive Note:

Corporate Author:

CALIFORNIA UNIV BERKELEY

Personal Author(s):

Report Date:

1966-05-18

Pagination or Media Count:

37.0

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 wordcell forward-chained lists which are used by the code generator.

Subject Categories:

  • Computer Programming and Software
  • Computer Hardware

Distribution Statement:

APPROVED FOR PUBLIC RELEASE