Accession Number : AD0707366
Title : REFERENCE MANUAL: COMPILER PACKAGE,
Corporate Author : CALIFORNIA UNIV BERKELEY
Personal Author(s) : Lampson,Butler W.
Report Date : 18 MAY 1966
Pagination or Media Count : 37
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.
Descriptors : (*COMPILERS, COMPUTER PROGRAMMING), PROGRAMMING LANGUAGES, SUBROUTINES, SYNTAX, ERRORS, CORRECTIONS, INPUT OUTPUT DEVICES
Subject Categories : Computer Programming and Software
Distribution Statement : APPROVED FOR PUBLIC RELEASE