Text preview for : BSL_LangSpecUpdMay69.pdf part of IBM BSL LangSpecUpdMay69 IBM 360 bsl BSL_LangSpecUpdMay69.pdf



Back to : BSL_LangSpecUpdMay69.pdf | Home

Technical Newsletter
Re: Form No. Z 28- 6642-0

This Newsletter No. Z28-2361

Date May 23, 1969

None
Previous Newsletter Nos.




BSL Language Specification

This Technical Newsletter, a part of Release 17 of the BSL Compiler,
provides replacement pages for BSL Language Specification. These
replacement pages remain in effect for subs equent releas es unles s
specifically altered. Pages to be replaced and/ or added are listed
below.

Remove Insert
-----
3-4 3-4
21-22 21-22
23-24 23-24
39 -4:0 39 - 40, 40. 1
43-4:4 43-44, 44. 1
65-66 65-66
67-68 67 -68
69-70 69-70

Changes and additions to the text and illustrations are indicated by a
ve rtical line to the left of the change.

Summary of Amendrrlents

The attached amendn:1ents include information about three BSL language
changes. The first aD:1endD:1ent describes and illustrates a new
language feature, the GENERATE DATA statement, which enables the
user to define data iteD:1s in asseD:1bler language which will be D:1apped
with the cOD:1piler-generated constants and user-declared variables.
The second aD:1endD:1ent discusses a change in the RESTRICT /RELEASE
stateD:1ents which allows the user to specify a register variable name
in addition to the actual register nUD:1ber. The third amendment con-
tains inforD:1ation a bout the acceptance of GEND as a valid abbreviation
of the language keyword GENERATED.

Note: Please file this cover letter at the back of the publication to
provide a quick reference to changes and a means of checking receipt
of all aD:1endments.




IBM Confidential
CONTENTS

INTRODUCTION 7

BASIC STRUCTURE 8
Syntactic Structure 8
Character Set 8
Identifiers 9
Blanks 9
Comments 9
Source Input 10
Program Structure 11
Statements 11
Groups 12
Procedures 13

DATA REPRESENTATION 14
Declarations 14
Data Types 15
Arithmetic Items: 15
String Items 15
Pointer Items 16
Program Items 17
Organization . . . . . 18
Arrays 18
Structures 18
Arrays of Structures 20
Scope . . . . . . . .' 20
Storage Class . . . . . 22
Fixed Data Areas ... 22
User Generated Data 23
Automatic Storage Allocation 23
Data in Registers
Parameters ....... .
... 24
24
Indirect Addressing ... 24
Other Attributes 26
Boundary 26
Initialization ~ .... 27
Normality . . . . . . .. 28
Default Attributes 29
Implicit Declaration 29
Default Data Type 29
Default Precision and Length 29
Default Scope . . . . . . . . 29
Default Storage Class 30
Default Boundary .