The Oak Ridge ALGOL Compiler for the Control Data Corporation 1604 / Preliminary Programmer’s Manual

Produced by David Starner, Stephen Hutcheson, and the
Online Distributed Proofreading Team at http://www.pgdp.net
(This book was produced from images made available by the
HathiTrust Digital Library.)

ORNL-3460
UC-32—Mathematics and Computers
TID-4500 (23rd ed.)

THE OAK RIDGE ALGOL COMPILER FOR THE CONTROL DATA CORPORATION 1604
PRELIMINARY PROGRAMMER’S MANUAL

L. L. Bumgarner

OAK RIDGE NATIONAL LABORATORY
operated by
UNION CARBIDE CORPORATION
for the
U.S. ATOMIC ENERGY COMMISSION

Printed in USA. Price: $1.25 Available from the
Office of Technical Services
U. S. Department of Commerce
Washington 25, D. C.

LEGAL NOTICE

This report was prepared as an account of Government sponsored work. Neither the United States, nor the Commission, nor any person acting on behalf of the Commission:

A. Makes any warranty or representation, expressed or implied, with respect to the accuracy, completeness, or usefulness of the information contained in this report, or that the use of any information, apparatus, method, or process disclosed in this report may not infringe privately owned rights; or

B. Assumes any liabilities with respect to the use of, or for damages resulting from the use of any information, apparatus, method, or process disclosed in this report.

As used in the above, “person acting on behalf of the Commission” includes any employee or contractor of the Commission, or employee of such contractor, to the extent that such employee or contractor of the Commission, or employee of such contractor prepares, disseminates, or provides access to, any information pursuant to his employment or contract with the Commission, or his employment with such contractor.

ORNL-3460

Contract No. W-7405-eng-26

Mathematics Division

THE OAK RIDGE ALGOL COMPILER FOR THE CONTROL DATA CORPORATION
1604—PRELIMINARY PROGRAMMER’S MANUAL

L. L. Bumgarner

DATE ISSUED
JAN 30 1964

OAK RIDGE NATIONAL LABORATORY
Oak Ridge, Tennessee
operated by
UNION CARBIDE CORPORATION
for the
U.S. ATOMIC ENERGY COMMISSION

CONTENTS

I. Introduction 1
II. Language Restrictions 2
III. Modes of Operation of the Compiler 4
IV. Input-Output and Intermediate Tape 5
Input-Output 5
READ 5
PAGE 7
Lists and the List Declaration 7
PRINT 9
WRITE 9
PUNCH 10
Formats and the Format Declaration 10
INPUT 11
OUTPUT 12
Intermediate Tape Procedures 13
BINREAD 13
BINWRITE 14
ENDFILE 14
REWIND 14
BACKUP 14
Tape-Checking Procedures 14
EOF 15
READERR 15
WRITERR 15
V. The External Declaration 16
VI. Standard Procedures 16
VII. Error Checking and Diagnostics 17
VIII. Running Programs 19
ALGOL Control System 20
EOP Card 20
Compile and Execute: ALGO 21
PROGRAM Card 22
Compile/Execute: ALDAP 22
ALDAP Control Statement 22
Job Deck: ALDAP Compilation/Execution 23
Examples 25
APPENDICES
A. Adjuncts to Algol 60 30
B. Hardware Representation 32
C. Structure of Procedure Calling Sequence 35
D. Internal Representation of Strings 37
E. Program Efficiency 38
F. Controversial Features of Algol 60 40
G. Fortran Subprograms in an Algol Program 41

THE OAK RIDGE ALGOL COMPILER FOR THE CONTROL DATA CORPORATION 1604—PRELIMINARY PROGRAMMER’S MANUAL

L. L. Bumgarner

ABSTRACT

This document is a preliminary programmer’s manual for use of the Control Data 1604 Algol Compiler. The compiler was constructed by the Programming Research Group of the Mathematics Division in cooperation with Control Data Corporation. A knowledge of Algol 60 is assumed. Included are descriptions of input-output facilities and details for operation under the monitor system.

I. Introduction

This document is to serve as a programmer’s manual for the Algol compiler constructed as a cooperative project by Control Data Corporation and the Mathematics Division of Oak Ridge National Laboratory. The compiler is designed for the Control Data 1604 and 1604-A computers. The document is preliminary in that the compiler is not thoroughly tested and may undergo further development.

The reader is assumed to be familiar with Algol 60. The defining descriptions are the two reports on Algol 60 available in the following references:

1. P. Naur et al, “Report on the Algorithmic Language Algol 60,” Comm. Assoc. Comp. Mach., 3 (1960), No. 5, 299-314.

2. P. Naur et al, “Revised Report on the Algorithmic Language Algol 60,” Comm. Assoc. Comp. Mach., 6 (1963), No. 1, 1-17.

The second report clears up certain ambiguities that appeared in the first report. The reports are not easy reading for the novice. The following expositions are more readable:

1. Baumann, Bauer, Feliciano and Samelson, Introduction to Algol, Prentice-Hall, Inc. (to be published in late 1963).

Pages: First | 1 | 2 | 3 | 4 | 5 | 6 | ... | Next → | Last | Single Page