XGC CORAL 66

Language Reference Manual

Ministry of Defence

The information in this reference manual is based on the text of the original official definition first published by HMSO in 1970.


Table of Contents
Preface
Related Documents
Reader's Comments
3. Preface to the 1974 Edition
1. Introduction
1.1. Special-Purpose Languages
1.2. Real Time
1.3. Syntax
1.4. Implementation
2. The Coral 66 Program
2.1. Objects
2.2. Program
3. Scoping
3.1. Block Structure
3.2. Clashing of Names
3.3. Globals
3.4. Labels
3.5. Restrictions Connected with Scoping
4. Reference to Data
4.1. Numeric Types
4.2. Simple References
4.3. Array References
4.4. Packed Data
4.4.1. Table Declaration
4.4.2. Table-Element Declaration
4.4.3. Example of a Table Declaration
4.4.4. Reference to Tables and Table Elements
4.5. Storage Allocation
4.6. Presetting
4.6.1. Presetting of Simple References and Arrays
4.6.2. Presetting of Tables
4.7. Preservation of Values
4.8. Overlay Declarations
5. Place References--Switches
6. Expressions
6.1. Simple Expressions
6.1.1. Primaries
6.1.2. Word-Logic
6.1.3. Evaluation of Expressions
6.2. Conditional Expressions
6.2.1. Conditions
7. Statements
7.1. Assignments
7.2. Goto Statements
7.3. Procedure Statements
7.4. Answer Statements
7.5. Code Statements
7.6. Compound Statements
7.7. Blocks
7.8. Dummy Statements
7.9. Conditional Statements
7.10. For Statements
7.10.1. For-elements with STEP
7.10.2. For-elements with WHILE
8. Procedures
8.1. Answer Specification
8.2. Procedure Heading
8.3. Parameter Specification
8.3.1. Value Parameters
8.3.2. Data Reference Parameters
8.3.3. Place Parameters
8.3.4. Procedure Parameters
8.3.5. Non-Standard Parameter Specification
8.4. The Procedure Body
9. Communicators
9.1. COMMON Communicators
9.2. LIBRARY Communicators
9.3. EXTERNAL Communicators
9.4. ABSOLUTE Communicators
10. Names and Constants
10.1. Identifiers
10.2. Numbers
10.3. Literal Constants
10.4. Strings
11. Text Processing
11.1. Comment
11.1.1. Comment Sentences
11.1.2. Bracketed Comment
11.1.3. END Comment
11.2. Macro Facility
11.2.1. String Replacement
11.2.2. Parameters of Macros
11.2.3. Nesting of Macros
11.2.4. Deletion and Redefinition of Macros
11.2.5. Syntax of Comment and Macros
A. Syntax Summary
B. List of Language Symbols
C. Levels of Implementation
D. Implementation-Defined Characteristics
D.1. Language Profiles
D.1.1. Official Definition Profile
D.1.2. The XGC Profile
D.1.3. The Custom Profile
D.2. Implemtentation Details
D.2.1. Numeric Types. See Section 4.1.
D.2.2. Meaning of Word-position. See Section 4.4.2.
D.2.3. Format of Code Statements. See Section 7.5.
D.2.4. Support for the COMMON Communicator. See Section 9.1.
D.2.5. Support for the LIBRARY Communicator. See Section 9.2.
D.2.6. Support for the EXTERNAL Communicator. See Section 9.3.
D.2.7. Support for the ABSOLUTE Communicator. See Section 9.4.
D.2.8. Length of identifiers. See Section 10.1.
D.2.9. Binary Numbers. See Section 10.2.
D.2.10. Hexadecimal Numbers. See Section 10.2.
D.2.11. Literal Constants. See Section 10.3.
D.2.12. The layout of strings. See Section 10.4.
D.2.13. The Macro Facility. See Section 11.2.
E. Format of Code Statements
E.1. Format of Code Statements
E.2. Constraints for Operands
E.2.1. Simple Constraints
E.2.2. Multiple Alternative Constraints
E.2.3. Constraint Modifier Characters
E.2.4. M68000 Constraints
Index
List of Tables
8-1. Parameters of Procedures