Programming languages — APL

Describes the semantics and syntax of the APL progamming language and the environment for the application, interchange and the portability of APL programs. Defines requirements for conformance with the standard.

Langages de programmation — APL

General Information

Status
Published
Publication Date
22-Oct-1989
Current Stage
9093 - International Standard confirmed
Completion Date
21-Jul-2006
Ref Project

Buy Standard

Standard
ISO 8485:1989 - Programming languages -- APL
English language
259 pages
sale 15% off
Preview
sale 15% off
Preview
Standard
ISO 8485:1989 - Langages de programmation -- APL
French language
259 pages
sale 15% off
Preview
sale 15% off
Preview
Standard
ISO 8485:1989 - Langages de programmation -- APL
French language
259 pages
sale 15% off
Preview
sale 15% off
Preview

Standards Content (Sample)

INTERNATIONAL
ISO
STANDARD 8485
First edition
1989-11-01
Programming languages - APL
Langages de programmation - APL
Reference number
ISO 8485 : 1989 (El

---------------------- Page: 1 ----------------------
ISO8485:1989(E)
Foreword
ISO (the International Organization for Standardization) is a worldwide federation of
national Standards bodies (ISO member bodies). The work of preparing International
Standards is normally carried out through ISO technical committees. Esch member
body interested in a subject for which a technical committee has been established has
the right to be represented on that committee. International organizations, govern-
mental and non-governmental, in liaison with ISO, also take part in the work. ISO
collaborates closely with the International Electrotechnical Commission (IEC) on all
matters of electrotechnical standardization.
Draft International Standards adopted by the technical committees are circulated to
the member bodies for approval before their acceptance as International Standards by
the ISO Council. They are approved in accordance with ISO procedures requiring at
least 75 % approval by the member bodies voting.
International Standard ISO 8485 was prepared by Technical Committee ISO/TC 97,
lnforma tion processing s ys tems.
Users should note that all International Standards undergo revision from time to time
and that any reference made herein to any other International Standard implies its
latest edition, unless otherwise stated.
Annexes A and B are for information only.
0 ISO 1989
All rights reserved. No part of this publication may be reproduced or utilized in any form or by any
means, electronie or mechanical, including photocopying and microfilm, without Permission in
writing from the publisher.
International Organkation for Standardkation
Case postale 56 l CH-121 1 Geneve 20 l Switzerland
Printed in Switzerland

---------------------- Page: 2 ----------------------
ISO 8485 : 1989 (EI
CONTENTS
3
,.,.,.o.a.o. . . . . . . .
,,. .,.
0 Introduction . . . . . . . . . . . . . . . . . .
5
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . .
1 Scope and Field of Application
.~. . . . . . . . . . . . . . . . . 7
. . . . . . . . . . . . . . . . . . . . . . . . . . .
2 References . . . . . . . . . . . .
. . . . . . . . . . . . . 0. 9
. . . . . . l 8 . . . . . . . . .
3 Form of the Standard
9
3.1 Form 0% Definitions
3.2 NamedArraysinExa~~~les’:::::::::::::::::::::::::::~~~::~::::::::~:~:::::::‘lO
10
. . . . . . . . . . .*.
3.3 Notes . . .
10.
3.4 Cross-References’:::::::::::::::::::::: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
11
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.5 General Definitions
13
...............................................................
4 Compliance
13
..................................................
4.1 Conforming Implementations
............................ 13
4.1.1 Required Behaviour for Conforming Implernentations
........................ 14
4.1.2 Required Documentation for Conforming Implementations
14
......................................
4.1.2.1 Documentation of Optional-Facilities
.......................... 14
4.7.2.2 Documentation of Implementation-Defined-Facilities
14
.................................................
4.1.2.3 Consistent Extensions
15
........................................................
4.2 Conforming Programs
................................. 15
4.2.1 Required Behaviour for Conforming Programs
.............................. 15
4.2.2 Required Documentation for Conforming Programs
17
................................................................
5 Definitions
17
5.1 Characters .
................................................................. 19
5.2 Numbers
19
5.2.1 Elementary Operations .
29
5.2.2 Number Constants
............................... 21
5.23 SubsetsoftheSetof’lr(;mbe;s’:::::::::::::::::::::::::::::.
23
................................................
5.2.4 Implementation Algorithms
24
......................................................
5.2.5 Defined Operations
26
5.3 Objects .
26
5.3.1 Lists .
27
................................................................
5.3.2 Arrays
29
.......................................................
5.3.3 Defined-Functions
......................... 30
5.3.4 Tokens
32
5.3.4.1 Metaciasses’:::::::::::::::::::::::::::::::::::::::::::.
33
5.3.4.2 Index-List .
33
..............................................................
5.3.5 Symbols
34
..............................................................
5.3.6 Contexts
34
...........................................................
53.7 Workspaces
..................................... 35
5.3.8 Sessions
36
5.39 Shared-Va;iabies”::::::::::::::::::::::::::::::::::::.
37
.................................................
53.70 Systems
39
.................................................
5.4 EvaluationSequences’::::::
39
..............................................
5.4.1 Evaluation Sequence Phrases
41
.............................................................
5.4.2 Diagrams
42
5.5 OtherTerms .
. . .
Ill

---------------------- Page: 3 ----------------------
ISO 8485 : 1989 (E)
6 Syntax and Evaluation . 43
6.1 Introduction
...............................................................
43
6.1.1 Evaluate-Line
...................................................... 43
6.1.2 Character-Diagrams
..................................................... 45
6.1.3 Evaluate-Statement
...................................................... 52
6.1.4 Bind-Token-Class 53
.......................................................
6.1.5 LiteraKonversion
....................................................... 54
6.1.6 Statement-Analysis Token-Diagrams . 55
6.2 Reduce-Statement
.......................................................... 60
6.3 The Phrase Evaluators
...................................................... 63
6.3.1 Diagrams
64
6.3.2 Remove-Pa;e;tthes’es”:::::::::::::::::::::::::::::::::::::.::L::.:::::::: 65
6.3.3 Evaluate-Niladic-Function
.........
65
6.3.4 Evaluate-Monadic-Function l : : : : : : : : : : : : : : : : : : : : : : : : : : : 1 : : : : : : 1 : : 1 : . D . . e . o o .
66
6.3.5 Evaluate-Monadic-Operator
................................................ 68
6.3.6 Evaluate-Dyadic-Function 69
.................................................
6.3.7 Evaluate-Dyadic-Operator
71
6.3.8 Evaluate-lndexed-Reference l : : : : : : : : : : : : : : : : : 1 : : : : : : : : : : : : : : : : : : : 1 : : : : : : : : :
72
6.3.9 Evaluate-Assignment
..................................................... 73
6.3.10 Evaluate-lndexed-Assignment 74
.............................................
6.3.11 Evaluate-Variable . 75
6.3.12 Build-Index-List 76
6.3.13 Process-Endsf&tement ’ : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : 1 : : : : : : : : 1 : : : : : : : : 77
6.4 The Form Table . 78
7 Scalar Functions . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . 8 8 8 8 8 . . . . . . . . . . . . . . . . . . . . . . . . . 83
7.1 Monadic Scalar Functions . . . . . . . . . . . . . . . .
84
7.1.1 Conjugate . Z f + B
84
7.1.2 Negative
................................. Z + - B 84
7.1.3 Signum Z c x B
.................................. 85
7.1.4 Reciprocal Z c s B
................................ 85
7.1.5Floor .
2 + L B 86
7.1.6 Ceiling
.................................... Z c r B 86
7.1.7 Exponential
............................... 2 c * B 87
7.1.8 Natura1 Logarithm 2 + @ B
.......................... 87
7.1.9Magnitude . Z + 1 B
88
7.l.lO’FactoriaI
................................ 2 + 1 B 88
7.1.11 Pi times
................................. 2 + i B 89
7.1.12 Not
..................................... 2 e w B r 89
7.2 Dyadic Scalar Functions
.................................... . . . . . . . . . . . . . . . 90
7.2.1 Plus
...................................... 2 c A + 8 91
7.2.2 Minus . 2 + A - B
91.
7.2.3Times . 2 + A x B
92
7.2.4 Divide .
Z+ATB 92
7.2.5Maximur;i”::::::::::::::::. . 2 c A r B
93
7.2.6 Minimum 2 + A L B
................................. 93
7.2.7 Power . 2 c A 3~ B
94
7.2.8 Logarithm . 2 + A @ B
94
7.2.9 Residue . 2 + A 1 B
95
7.2.10 Binomial . 2 + A 1 B
96
2 + A 0 B
7.2.11 Circular Functions
.........................
97
2 t A A B
7.2.12 And .
99
2 + A v B
7.2.13 Or .
99
7.2.14 Nand . 2 + A e B
100
7.2.15 Nor . 2 + A w B
100
7.2.16 Equal . 2 + A = B
101
7.2.17 Less than . 2 t A < B
103
2 t A c B
7.2.18 Less than or equal to .
103
7.2.19 Not equal . 2 + A 7 B
104
7.2.20 Greater than or equal to . 2 t A > B
104
7.2.21 Greaterthan
............................. 2 + A 5 B
105
iv APL Standard

---------------------- Page: 4 ----------------------
ISO8485:1989(E)
................................................. 107
8 StructuraI Primitive Functions
10 7
8.1 fntroduction .
8.2 Monadic Structurai Primitive Functions . 107
107
8.2.1 Ravel . 2 + , B
108
8.2.2 Shape . Z + p B
109
8.2.3 Index Generator . 2 + I B
...........................................
8.3 Dyadic Structurat Primitive Functions 110
110
8.3.1 Reshape . Z + A p B
111
8.3.2 Jein . 2 c A , B
9 Operators . 113
9.1 ilntroduction .113
.............................................................
......................................................... 114
9.2 Monadic Operators
2 t f/ B
9.2.1 Reduction .
114
z + f/[K] B
................................
9.2.1 Reduction 114
2 + ff B
9.2.1 Reduction . 114
2 +ff[K] B
9.2.1Reduction . 114
2 c f\ B
9.2.2 Scan . 116
2 + f\[K] B
9.2.2 Scan . 116
2 c ft B
9.2.2 Scan
.................................... 116
2 c f+[K] B
9.2.2 Scan . 116
.......................................................... 117
9.3 Dyadic Operators
2 + A 0 . f B
9.3.lOuterProduct . 117
2 c A f 9 B
..............................
9.3.2 Inner Product . 118
...........................................
10 Mixed Functions 119
119
10.1 MonadicMixedFur%~&s*.~~~~~~~: .
10.1.1 Roll . 119
Z + ? B
10.1.2 Grade Up . 121
2 c & B
2 c v B
10.1.3 Grade Down .
122
10.1.4 Reverse .
2 + 0 B 123
................................. Z c e B
10.1.4 Reverse 123
.................................
10.1.4 Reverse 2 + @[Kl 8 123
.
................................. 2 t e[K] B
10.1.4 Reverse 123
10.1.5 Monadic Transpose . 2 c Q B 124
.+. 2 c 4 B
10.1.6 Matrix Inverse . 125
10.1.7 Execute . Z + Q B 126
10.2 Dyadic Mixed Functions . . . . 0 . . . . . 127
2 c A , [K] B
10.2.1 Join Along an Axis . 127
130
10.2.2 Indexof . Z + A 1 B
2 + A E B
10.2.3 Member of . 131
10.2.4 Deal . 2 c A ? B 132
10.2.5 Compress . 2 c A / B 133
10.2.5 Compress . 2 t A f B 133
2 f A /[Kl B
10.2.5 Compress . 133
2 c A f[K] B
10.2.5 Compress . 133
10.2.6 Expand . Z c 4 \ B 135
2 t A f B
10.2.6 Expand . 135
Z c A \[K] B
10.2.6 Expand . 135
2 + A +[K] B
10.2.6 Expand . 135
2 c A @ B
10.2.7 Rotate . 137
2 t A 8 B
10.2.7 Rotate . 137
.................................. 2 + A @[Kl B
10.2.7Rotate 137
2 + A e[K] B
10.2.7 Rotate 137
.............................................................. 2 c A 1 B
10.2.8 Base Vah.e 139
2 + A T B
10.29 Representation . 140
10.2.10 Dyadic Transpose . 2 + A Q B 142
10.2.11 Take . 2 + A + B 144
2 + A + B
10.2.12 Drop . 145
10.2.13 Matrix Divide . 2 + A 4 B
146
10.2.14 Indexed Reference . 2 + A[I]
147
10.2.15 Indexed Assignment .
2 t v[r] c B 148
.
CONTENTS v

---------------------- Page: 5 ----------------------
ISO 8485 : 1989 (El
151
System Functions
11
.........................................................
151
11.1 Introduction
..............................................................
..15 1
11.2 Definition
..............................................................
..15 1
11.3 Diagram
152
11.4 Niladic System’Functions .
.............................................................................................................
11.4.1 Time Stamp 2 + OTS 152
..............................
1 i .4.2 Atomic Vector . . . 153
Z + CIAV
11.4.3 Line Counter . 153
z + OLC
Monadic System Functions 154
11.5 .
ll.S.lDelay . 2; ~.~~~~~~~~~.~.~~~~~~~~.~15 4
2 + ~‘J,JC B 155
11.5.2 Name Class
..............................
156
11.5.3 Expunge 2 t [FEX B
.................................
156
11.5.4 Name List 2 f- ~-JNL B
...............................
11.5.5 Quefy Stop 2 c os~(‘)p B 157
..............................
2 t C]TRAcE B 157
11.5.6 Query Trace .
158
11.6 Dyadic System Functions
....................................................
2 + A ONL B 158
11.6.1 Name List .
2 + A OSTOp B 158
11.6.2 Set Stop .
2 + A aordi)dCE B 159
11.6.3 Set Trace .
161
12 System Variables .
12.1 Definitions -16 1
.............................................................
12.2 Evaluation Sequences 162
......................................................
12.2.1 Comparison Tolerante 2 c OcT + B 162
......................
2 + OcT
12.2.1 Comparison Tolerante 162
......................
2 c URL c B
12.2.2 Random Link 163
.............................
Z c ORL 163
12.2.2 Random Link .
2 + opp c B
164
12.2.3 Print Precision .
2 + opp
164
12.2.3 Print Precision .
Z + [IzO t B 165
12.2.4 Index Origin .
Z + 010 165
12.2.4 Index Origin .
2 t OLX c B
166
12.2.5 Latent Expression .
2 + OLX
166
12.2.5 Latent Expression .
.... 166
12.2.5 Latent Expression 2 + oLxcIl f- B
167
13 Defined Functions . ~~~~~~~~~~~~~~~~.~~~~~~~.~~ .
167
13.1 lntroduction
..............................................................
..16 8
13.2 Definitions
.............................................................
..17 1
13.3 Diagrams
.............................................................
........
13.4 Operations . 174
2 + DFN
13.4.1 Call-Defined$u*nkion 174
2 + DFN B
13.4.1 Call-Defined-Function . 174
2 + A DFN B
13.4.1 Call-Defined-Function . 174
175
13.4.2 Defined-Function-Control
.................................................
...............................
2 + UFX B
13.4.3 Function Fix 176
2 c OCR B
13.4.4 Character Representation 177
...................
..17 8
13.5 Function Editing
.........................................................
178
13.5.1 Evaluate-Function-Definition-Request
........................................
180
13.5.2 Evaluate-Editing-Request
.................................................
181
13.5.3 Diagrams
............................................................
14 SharedVariables .
........ 183
..........................................
14.1 Informal Introduction : 1: : 1: 1 183
................................................
14.2 Definitions
..18 6
.............................................................
14.3 Diagrams
186
...............................................................
14.4 Operations .18 6
...........................................................................................
14.4.1 Primav-N.ame
.................................................................. 186
14.4.2 Surrogate-Name. . : : : : : . 186
14.4.3 Degree-of-Coupling
1. 186
...................................................
14.4.4 Access-Control-Vector
186
...................................................
14.4.5 Offer
187
14.4.6 Retract”::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::l88
14.4.7 Shared-Variable-Reset 188
..................................................
vi
APL Standard

---------------------- Page: 6 ----------------------
ISO 8485 : 1989 (El
189
.....................................................
14.5 Shared Variable Forms
Z t SHV 189
..................
14.5.1 Shared Variable Reference
189
Z + SHV t B
14.5.2 Shared Variable Assignment .
190
Z + SHV[I] + B
14.5.3 Shared Variable Indexed Assignment .
............................................ 191
14.6 Shared Variable System Functions
191
2 + OSVC B
.........
14.6.1 Shared Variable Access Control Inquiry
192
..................... 2 + OSVQ B
14.6.2 Shared Variable Query
2 + OSVO B 193
...........
14.6.3 Shared Variable Degree of Coupling
2 + JJ, nSV0 I3 194
14.6.4 Shared Variable Offer .
2 c c]SVR B 195
14.6.5 Shared Variable Retraction .
2 + A O:SVC B 196
14.6.6 Shared Variable Access Controi Set .
197
...........................................
15 Formatting and Numeric Conversion
197
.........................................................
15.1 Introduction
197
15.2 Numeric Conversion
15.2.1 Numeric-Input-C0n;e;s.i~~ l : : : : : : : : : : : : : : : : : : : : : : : : : : : 1 : : : : : : 1 : : : : : : : : : : : : : 198
199
15.2.2 Numeric-Output-Conversion .
199
. .
15.3 Diagrams .
......................... 203 203
15.4 Operations .
15,4*1 Monadic For.~at’ ~::::::::::::::::::::::::::’ .~
+mB
2 + A e B 206
15.4.2 Dyadic Format .
...20 9
.......................................................
16 InputandOutput
.............................................................. 209
16.1 Introduction
..20 9
16.2 Definitions .
......................................................... 209
16.2.1 User Facilities
210
...............................................
16.2.2 Implementation Algorithms
211
.............................................................
16.2.3 Prompts
211
...............................................................
16.3 Diagrams
212
16.4 Operations
16.4.1 lmmediat&.Execut&n l : : : : : : : : : : : : : : : : : : : : : : : : : : : : : 1 : : : : : : : : : : : : : : : : : : : : : : 212
2 c 0
213
16.4.2 Quad Input .
2 c m
214
16.4.3 Quote Quad Input .
214
............................. 2 + 0 c B
16.4.4 Quad Output
215
........................ 2 c f3 + B
16.4.5 Quote Quad Output
217
17 .
System Commands
..217
17.1 lntroduction .
..217
17.2 Definitions .
..218
17.3 Diagrams .
............... 219
17.4 Operations
17 4.1 Evaluate-~~~t~~~~ommand’::::::::::::::::::::::::::::::::.21 9
220
...........................................
17.5 Diagrams and Evaluation Sequences
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 225
Annex A. The APL Character Set for Werkspace lnterchange
.................... l ................ 233
Annex 6: The Werkspace Interchange Convention
233
.....................................................
B.1 Introduction
233
......................................
B-1 .l Purpose of th*e* Convention
...................................... 233
B.1.2 Organisation of the Convention’ . : : : : : :
234
B-2 Level 1 Description .
.......................................... 234
8.2.1 Canonicai Representation Vectors
............................................... 235
B.2.2 Representation of Variables
236
...............................................
B.2.3 Representation of Functions
237
B.2.4 Representation of Executable Expressions .
238
6.3 Level 2 Description .
................................... 238
B.3.1 Multiple Canonical Representation Vectors
.................................................. 238
B.3.2 Werkspace Environment
........................................................ 239
B.3.3 Pseudovariables
239
...........................................
6.3.4 Interchange Convention Identifier
..23 9
8.3.5 Escape
.............................................................
239
B.3.6 Bits .
239
6.3.7 Trans1at.e. : : : : : : : : : : : : : : : : : : : : .
240
B.3.8 Note .
240
................................................
B.3.9 Worksp&e &*t$er’ : : : : :
240
......................................................
8.3.10 End of the Stream
CONTENTS vii

---------------------- Page: 7 ----------------------
ISO 8485 : 1989 (El
240
6.3.11 Inclusion of Nonstandard Material .
241
6.3.12 Use of Other Types .
6.4 Level 3 Description 242
.........................................................
..24 2
6.4.1 Atoms
..............................................................
242
6.4.2 Registered Character sets
.................................................
242
6.4.3 Escape sequences
......................................................
242
6.4.4 Reqistered characters
................................................
242
..:
B.4.5 lS&WL characters .
..................................................
8.4.6 Characters 243
B-4-7 TheTranslateiabie’::::::::::.:::::::.::::::~:::::::~::::::~~::::::r:~:::243
: 244
ß.4.8 Example .
.............................................
.
..2
B-4-9 Escape
.............................................................
...24 4
8.4.10 Bits
..............................................................
244
............................................................
8.4.11 Translate
245
B.4.12 kample
.............................................................
245
B.4.13 Mapping of Characters to Bits
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . :::::24 5
B.4.14 StagelTranslation . . .
245
B.4.15 Stage 2 Translation
.....................................................
246
8.4.16 Example
.............................................................
246
B.4.17 Summaty
B-5 Level4Descriptio~‘::::::::::::::.:::::::::::.:::::::::::::s::::::::::::::::247
247
8.5.1 Physical Media
.........................................................
247
B-5-2 Nine-track Magnetit Tape
.................................................
248
B-6 Extended Example
.........................................................
. . . . . . . . . . . . 0 8 8 8 0 0 8 8 0 8 8 l . .B. 8 0 0 . . . .m. l . . . . . . 253
Bibliography 0 8 0 0
8 0 8 . .ooo. 255
INDEX l oo m.m. .o. .o.o. 0 8 0 0 8 8 0 8 0 0 0 0 8 . . . . . . . . . . . . . . . . . . . . .
. . .
VIII APL Standard

---------------------- Page: 8 ----------------------
INTERNATIONAL STANDARD
ISO 8485 : 1989 (E)
Programming languages - APL

---------------------- Page: 9 ----------------------
This page intentionally left blank

---------------------- Page: 10 ----------------------
ISO 8485 : 1989 (EI
0 INTRODUCTION
APL Stands for A Programming Language. It is a notation invented by K. E. iverson in the late 1950s
for the description of algorithms, and expanded on and made into the programming System
APL\3 6 0 by Iverson and his colleagues Adin Falkoff, Larry Breed, Dick Lathwell, and Roger Moore
in the mid4960s.
Throughout this document
-
the term “this Standard” is understood to mean “this International Standard”;
-
the words “chapter”, ’ “section ” and ’ ‘subsection ” are understood to “clause”, ’ ‘su belause” and “su b-
su belause”, respectively.
0. lntroduction 3

---------------------- Page: 11 ----------------------
This page intentionally left blank

---------------------- Page: 12 ----------------------
ISO 8485 : 1989 (El
1 SCOPE AND FIELD OF APPLICATION
This Standard defines the programming language APL and the environment in which APL programs
are executed. Its purpose is to facilitate interchange and promote portability of APL programs and
programming skills.
This Standard specifies the Syntax and semantics of APL programs and the characteristics of the
environment in which APL programs are executed.
lt also specifies requirements for conformance to this Standard, including the publication of values
and characteristics of implementation properties so that conforming impiementations tan be
meaningfully compared. .
This Standard does not specify:
implementation properties that are likely to vary with the particular equipment or operating
System used;
required values for implementation limits such.as APL workspace size or numeric precision;
the data structures used to represent APL objects;
the facilities available through shared variables.
1. Scope and Field of Application 5

---------------------- Page: 13 ----------------------
This page intentionally left blank

---------------------- Page: 14 ----------------------
ISO 8485: 1989 (El
2 REFERENCES
ISO 2375 : 1985, Data processing - Procedure for regis tra tion of escape sequences.
Part 15: Programming languages.
ISO 2382-15 : 1985, Data processing - Vocabulary -
2. References 7

---------------------- Page: 15 ----------------------
This page intentionally left blank

---------------------- Page: 16 ----------------------
3 FORM OF THE STANDARD
This standard is a formal model of an APL machine, specified as a collection of finite Sets, diagrams,
and evaluation sequences, and objects constructed from finite Sets, diagrams, and evaluation
sequences.
The finite sets are the implementation-defined Character-Set, the implementation-defined set of
numbers, and the enumerated sets array-type, class-names, keyboard-states, mode-names,
required-Character-Set, and werkspace-presence.
Diagrams are directed graphs used to designate syntactic forms.
Evaluation sequences are formal procedures that operate on finite Sets, diagrams, other evaluation
sequences and objects defined in the Standard.
Objects are entities consisting of enumerated set members and other objects. The objects are iist,
array, defined-function, token, Symbol, context, workspace, Session, shared-vari
...

NORME ISO
INTERNATIONALE 8485
Première édition
1989-I I-01
Langages de programmation - APL
Programming languages - APL
Numéro de référence
ISO 8485 : 1989 (FI

---------------------- Page: 1 ----------------------
ISO 8485 : 1989 (F)
Avant-propos
L’ISO (Organisation internationale de normalisation) est une fédération mondiale
d’organismes nationaux de normalisation (comités membres de I’ISO). L’élaboration
des Normes internationales est en général confiée aux comités techniques de I’ISO.
Chaque comité membre intéressé par une étude a le droit de faire partie du comité
technique créé à cet effet. Les organisations internationales, gouvernementales et non
gouvernementales, en liaison avec I’ISO participent également aux travaux. L’ISO col-
labore étroitement avec la Commission électrotechnique internationale (CEI) en ce qui
concerne la normalisation électrotechnique.
Les projets de Normes internationales adoptés par les comités techniques sont soumis
aux comités membres pour approbation, avant leur acceptation comme Normes inter-
nationales par le Conseil de I’ISO. Les Normes internationales sont approuvées confor-
mément aux procédures de I’ISO qui requièrent l’approbation de 75 % au moins des
comités membres votants.
La Norme internationale ISO 8485 a été éla par le comité techniq ue ISO/TC 97,
Systèmes de traitement de l’information.
L’attention des utilisateurs est attirée sur le fait que toutes les Normes internationales
sont de temps en temps soumises à révision et que toute référence faite à une autre
Norme internationale dans le présent document implique qu’il s’agit, sauf indication
contraire, de la dernière édition.
Les annexes A et B sont données uniquement à titre d’information.
0 ISO 1989
Droits de reproduction réservés. Aucune partie de cette publication ne peut être reproduite ni
utilisée sous quelque forme que ce soit et par aucun procédé, électronique ou mécanique,
y compris la photocopie et les microfilms, sans l’accord écrit de l’éditeur.
Organisation internationale de normalisation
Case postale 56 l CH-1211 Genève 20 l Suisse
Imprimé en Suisse
ii

---------------------- Page: 2 ----------------------
ISO 8485 : 1989 (F)
Page
Table des matières
1
bbbbbb*bbbbbbbbbbbbbbbbbbbbbbbbbb*b*bbbbbbbbbb*b*bbbbbbbbbbbbbbbbbbbbb.bb*bObbbb**b*bbOb*bbObb*bbbbbbbb*bbb*bbbbbb*bbb*bbb*bb.bbbObb
0 Introduction
2
bb*bbbbbbb*b*ebbbbb*bbbbbbbbbbbbbbbbbbb*bbbbb*bbbbb*bbbbbbb*bbbbbbbbbb*bbbbbbbbbbbbbb*ebbbbbbbbb
1 Objectif et Domaine d’Application
3
bbbbbbebbbbbbbbbbbbbbbbbbbbbbbbbbbobbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbebbbbbbbbbbbbbbbbbbobbbbbbbbbbbbbbbbbbbbbbbbbbbb*bbbbbbbebbbbebbbb
2 Références
4
bbbbbbbbbbbbbbbbbbb*b*bbbbbbbb*bbb.bbbbbbbbbb*bbb*bb*bbb*bbbbbbb.bb*b*bbbbbb*bb*bbbbbbb*b*bbbbbbbbbbb*bbbbbbb**
3 Présentation de la Norme
4
...........................................................................................................
3.1 Présentation des définitions
5
.................................................................................
3.2 Désignation des tableaux dans les exemples
5
3.3 Notes .
5
.......................................................................................................................
3.4 Références croisées
6
.....................................................................................................................
3.5 Définitions génerales
6
3 5.1 Programme .
6
3.5.2 Implantation .
6
......................................................................................
3.53 Fonctionnalité (d’une implantation)
7
4 Conformité .
7
..................................................................................................................
4.1 Implantation conforme
7
......................................................
4.1.1 Comportement Requis pour une Implantation Conforme
8
...................................................
4.1.2 Documentation Requise pour une Implantation Conforme
8
..........................................................
4.1.2.1 Documentation des Fonctionnalités Optionnelles
8
...................................
4.1.2.2 Documentation des Fonctionnalités d’une Implantation Définie
8
4.1.2.3 Extensions Cohérentes .
9
.................................................................................................................
4.2 Programmes conformes
9
.........................................................
4.2.1 Comportement Requis pour un Programme Conforme
9
.......................................................
4.2.2 Documentation Requise pour un Programme Conforme
10
5 Définitions b*bbbbb**b*bbbbbbbbbbbbbbbbb*b*bbbbbbbbbbb*bebbbbbbbbbb**bbbbbbbbbbbbbbb.bbbbbbbbb**bb*bb*bbbbbbbbbbbbbb*bbb*bbbbbbbbbbb*bbb.*bbbb**bbbb
10
5.1 Caractères .
12
........................................................................................................................................
5.2 Nombres
12
5.2.1 Opérations Elémentaires .
13
.........................................................................................................
5.2.2 Constantes Numériques
14
.......................................................................
5.2.3 Sous-Ensembles de l’Ensemble des Nombres
16
...................................................................................................
5.2.4 Algorithmes d’implantation
17
5.2.5 Opérations Définies .
19
............................................................................................................................................
5.3 Objets
19
......................................................................................................................................
5.3.1 Listes
20
5.3.2 Tableaux .
21
5.3.3 Fonctions Définies .
22
5.3.4 Lexèmes .
25
.....................................................................................................................
5.3.4.1 Métaclasses
25
...............................................................................................................
5.3.4.2 Liste d’Indices
25
5.3.5 Symboles .
26
5.3.6 Contextes .
26
..................................................................................................................
5.3.7 Zones de Travail
27
5.3.8 Sessions .
28
................................................................................................................
5.3.9 Variables Partagées
29
5.3.10 Systèmes .
.*.
111

---------------------- Page: 3 ----------------------
ISO 8485 : 1989 (F)
31
.................................................................................................................
5.4 Séquences d’évaluation
31
.................................................................
5.4.1 Expressions Propres aux Séquences d’Evaluation
33
...........................................................................................................................
5.4.2 Diagrammes
34
.................................................................................................................................
5.5 Autres termes
35
......................................................................................................................
6 Syntaxe et Evaluation
35
6.1 Introduction .
35
6.1.1 Evaluer une Ligne .
37
....................................................................................................
6.1.2 Diagrammes de Caractères
44
..........................................................................................................
6.1.3 Evaluer une Instruction
45
...........................................................................................................
6.1.4 Lier la Classe Lexicale
46
........................................................................................................
6.1.5 Conversion d’un Littéral
47
.........................................................
6.1.6 Diagrammes de Lexèmes d' Analyse d’une Instruction
.................................................................................................................. 52
6.2 Réduire une Instruction
56
......................................................................................................
6.3 Les Evaluateurs d’Expressions
56
6.3.1 Diagrammes .
57
..........................................................................................................
6.3.2 Enlever les Parenthèses
57
............................................................................................
6.3.3 Evaluer une Fonction Niladique
58
..........................................................................................
6.3.4 Evaluer une Fonction Monadique
59
..........................................................................................
6.3.5 Evaluer un Opérateur Monadique
60
.............................................................................................
6.3.6 Evaluer une Fonction Diadique
61
.............................................................................................
6.3.7 Evaluer un Opérateur Diadique
62
..............................................................................................
6.3.8 Evaluer une Référence Indicée
63
.........................................................................................................
6.3.9 Evaluer une Affectation
64
..........................................................................................
6.3.10 Evaluer une Affectation Indicée
65
............................................................................................................
6.3.11 Evaluer une Variable
66
.............................................................................................
6.3.12 Construire une Liste d’Indices
67
................................................................................................
6.3.13 Traiter une Fin d’instruction
68
.................................................................................................
6.4 La Table des Formes Syntaxiques
72
..........................................................................................................................
7 Fonctions Scalaires
73
...................................................................................................
7.1 Fonctions Scalaires Monadiques
73
7.1.1 Prise du conjugué .
73
.............................................................................................................
7.1.2 Changement de signe
74
7.1.3 Signe .
74
7.1.4 Inverse .
75
7.1.5 Plancher .
75
...................................................................................................................................
7.1.6 Plafond
76
.......................................................................................................................
7.1.7 Exponentiation
76
................................................................................................................
7.1.8 Logarithme Naturel
77
7.1.9 Module .
77
7.1.10 Factorielle .
78
7.1.11 Pi fois .
78
7.1.12 Non .
79
......................................................................................................
7.2 Fonctions Scalaires Diadiques
80
.................................................................................................................................
7.2.1 Addition
80
............................................................................................................................
7.2.2 Soustraction
81
.........................................................................................................................
7.2.3 Multiplication
81
7.2.4 Division .
82
...............................................................................................................................
7.2.5 Maximum
82
...............................................................................................................................
7.2.6 Minimum
83
......................................................................................................
7.2.7 Elévation à une puissance
83
.............................................................................................................................
7.2.8 Logarithme
84
...................................................................................................................................
7.2.9 Modulo
85
..............................................................................................................
7.2.10 Fonction Binomiale
86
...........................................................................................................
7.2.11 Fonctions Circulaires
88
7.2.12 Et .
88
7.2.13 Ou .
89
..................................................................................................................................
7.2.14 Non-Et

---------------------- Page: 4 ----------------------
ISO 8485 : 1989 (F)
89
7.2.15 Non-Ou .
90
7.2.16 Egal à .
92
.............................................................................................................................
7.2.17 Inférieur à
92
...............................................................................................................
7.2.18 Inférieur ou Egal à
93
............................................................................................................................
7.2.19 Non Egal à
93
7.2.20 Supérieur ou Egal à .
94
7.2.21 Supérieur à .
95
bbbbbbbb.bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
8 Fonctions Primitives de Structuration
95
8.1 Introduction .
95
......................................................................
8.2 Fonctions Primitives de Structuration Monadiques
95
8.2.1 Linéarisation .
96
8.2.2 Dimension .
97
8.2.3 Générateur d’Ind.ices .
98
..........................................................................
8.3 Fonctions Primitives de Structuration Diadiques
98
.......................................................................................................................
8.3.1 Restructuration
99
..........................................................................................................................
8.3.2 Juxtaposition
100
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
9 Opérateurs
100
9.1 Introduction .
100
.................................................................................................................
9.2 Opérateurs Monadiques
100
9.2.1 Réduction .
103
................................................................................................................................
9.2.2 Balayage.
105
....................................................................................................................
9.3 Opérateurs Diadiques
105
.......................................................................................................................
9.3.1 Produit externe
106
9.3.2 Produit interne .
107
10 Fonctions Mixtes bbbbbbbbbbbbbbbWbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb.bbbbbbbbbbbbbbbbbbbbbbb
107
....................................................................................................
10.1 Fonctions Mixtes Monadiques
107
...................................................................................................................
10.1.1 Tirage Aléatoire
109
........................................................................................................
10.1.2 Ordre de Tri Ascendant
110
......................................................................................................
10.1.3 Ordre de Tri Descendant
111
.......................................................................................................................
10.1.4 Renversement
112
10.1.5 Transposition Monadique .
113
10.1.6 Inversion de Matrice .
114
10.1.7 Exécution .
115
10.2 Fonctions Mixtes Diadiques .
115
10.2.1 Juxtaposition Selon un Axe .
118
10.2.2 Indice de .
119
10.2.3 Appartenance .
120
..............................................................................................
10.2.4 Tirage Aléatoire Sans Remise
121
........................................................................................................................
10.2.5 Compression
123
.............................................................................................................................
10.2.6 Expansion
125
.........................................................................................................
10.2.7 Permutation Circulaire
127
..............................................................................................................................
10.2.8 Décodage
128
.................................................................................................................................
10.2.9 Codage
130
10.2.10 Transposition Diadique .
132
..........................................................................................................................
10.2.11 Préhension
133
10.2.12 Abandon .
134
10.2.13 Division Matricielle .
135
10.2.14 Référence Indicée .
136
.............................................................................................................
10.2.15 Affectation Indicée
138
....................................................................................................................
11 Fonctions du Système
138
.................................................................................................................................
11.1 Introduction
138
....................................................................................................................................
11.2 Définition
138
..................................................................................................................................
11.3 Diagramme
139
...............................................................................................
11.4 Fonctions Niladiques du Système
139
...........................................................................................................................
11.4.1 Horodateur
V

---------------------- Page: 5 ----------------------
ISO 8485 : 1989 (F)
140
................................................................................................................
11.4.2 Vecteur Atomique
140
............................................................................................................
11.4.3 Compteur de Ligne
141
.............................................................................................
11.5 Fonctions Mo&diques du Système
141
......................................................................................................................
11.5.1 Temporisation
142
....................................................................................................................
11.5.2 Classe de Noms
143
..........................................................................................................................
11.5.3 Suppression
143
......................................................................................................................
11.5.4 Liste de Noms
144
...................................................................................
11.5.5 Requête d’Information sur les Arrêts
144
.................................................................................. .
11.5.6 Requête d’Information sur les Traces
145
................................................................................................
11.6 Fonctions Diadiques du Système
145
......................................................................................................................
11.6.1 Liste de Noms
145
.......................................................................................
11.6.2 Assignation des Contrôles d' Arrêt
146
.....................................................................................
11.6.3 Assignation des Contrôles de Trace
147
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb*b.bbbbbbb
12 Variables du Système
147
..................................................................................................................................
12.1 Définitions
148
.............................................................................................................
12.2 Séquences d’Evaluation
148
..................................................................................................
12.2.1 Tolérance de Comparaison
149
..............................................................................
12.2.2 Germe des Nombres Pseudo-Aléatoires
150
.........................................................................................................
12.2.3 Pkision d’impression
151
..............................................................................................................
12.2.4 Origine des Indices
152
................................................................................................................
12.2.5 Expression latente
153
13 Fonctions Définies bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb*bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
153
13.1 Introduction .
154
13.2 D&initions .
157
...............................................................................................................................
13.3 Diagrammes
160
..................................................................................................................................
13.4 Opérations
160
................................................................................................
13.4.1 Appel de Fonction Définie
161
............................................................................................
13.4.2 Contr&e de Fonction Définie
162
........................................................................................................
13.4.3 Génération de Fonction
............................. 163
13.4.4 Reprhentation Sous Forme de Caractères (Représentation Canonique)
164
13.5 Edition de Fonction .
164
..................................................................
13.5.1 Evaluer une Requête de Définition de Fonction
165
............................................................................................
13.5.2 Evaluer une Requête d’Edition
167
13.5.3 Diagrammes .
169
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
14 Variables Partagées.
169
.............................................................................................................
14.1
...

NORME ISO
INTERNATIONALE 8485
Première édition
1989-I I-01
Langages de programmation - APL
Programming languages - APL
Numéro de référence
ISO 8485 : 1989 (FI

---------------------- Page: 1 ----------------------
ISO 8485 : 1989 (F)
Avant-propos
L’ISO (Organisation internationale de normalisation) est une fédération mondiale
d’organismes nationaux de normalisation (comités membres de I’ISO). L’élaboration
des Normes internationales est en général confiée aux comités techniques de I’ISO.
Chaque comité membre intéressé par une étude a le droit de faire partie du comité
technique créé à cet effet. Les organisations internationales, gouvernementales et non
gouvernementales, en liaison avec I’ISO participent également aux travaux. L’ISO col-
labore étroitement avec la Commission électrotechnique internationale (CEI) en ce qui
concerne la normalisation électrotechnique.
Les projets de Normes internationales adoptés par les comités techniques sont soumis
aux comités membres pour approbation, avant leur acceptation comme Normes inter-
nationales par le Conseil de I’ISO. Les Normes internationales sont approuvées confor-
mément aux procédures de I’ISO qui requièrent l’approbation de 75 % au moins des
comités membres votants.
La Norme internationale ISO 8485 a été éla par le comité techniq ue ISO/TC 97,
Systèmes de traitement de l’information.
L’attention des utilisateurs est attirée sur le fait que toutes les Normes internationales
sont de temps en temps soumises à révision et que toute référence faite à une autre
Norme internationale dans le présent document implique qu’il s’agit, sauf indication
contraire, de la dernière édition.
Les annexes A et B sont données uniquement à titre d’information.
0 ISO 1989
Droits de reproduction réservés. Aucune partie de cette publication ne peut être reproduite ni
utilisée sous quelque forme que ce soit et par aucun procédé, électronique ou mécanique,
y compris la photocopie et les microfilms, sans l’accord écrit de l’éditeur.
Organisation internationale de normalisation
Case postale 56 l CH-1211 Genève 20 l Suisse
Imprimé en Suisse
ii

---------------------- Page: 2 ----------------------
ISO 8485 : 1989 (F)
Page
Table des matières
1
bbbbbb*bbbbbbbbbbbbbbbbbbbbbbbbbb*b*bbbbbbbbbb*b*bbbbbbbbbbbbbbbbbbbbb.bb*bObbbb**b*bbOb*bbObb*bbbbbbbb*bbb*bbbbbb*bbb*bbb*bb.bbbObb
0 Introduction
2
bb*bbbbbbb*b*ebbbbb*bbbbbbbbbbbbbbbbbbb*bbbbb*bbbbb*bbbbbbb*bbbbbbbbbb*bbbbbbbbbbbbbb*ebbbbbbbbb
1 Objectif et Domaine d’Application
3
bbbbbbebbbbbbbbbbbbbbbbbbbbbbbbbbbobbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbebbbbbbbbbbbbbbbbbbobbbbbbbbbbbbbbbbbbbbbbbbbbbb*bbbbbbbebbbbebbbb
2 Références
4
bbbbbbbbbbbbbbbbbbb*b*bbbbbbbb*bbb.bbbbbbbbbb*bbb*bb*bbb*bbbbbbb.bb*b*bbbbbb*bb*bbbbbbb*b*bbbbbbbbbbb*bbbbbbb**
3 Présentation de la Norme
4
...........................................................................................................
3.1 Présentation des définitions
5
.................................................................................
3.2 Désignation des tableaux dans les exemples
5
3.3 Notes .
5
.......................................................................................................................
3.4 Références croisées
6
.....................................................................................................................
3.5 Définitions génerales
6
3 5.1 Programme .
6
3.5.2 Implantation .
6
......................................................................................
3.53 Fonctionnalité (d’une implantation)
7
4 Conformité .
7
..................................................................................................................
4.1 Implantation conforme
7
......................................................
4.1.1 Comportement Requis pour une Implantation Conforme
8
...................................................
4.1.2 Documentation Requise pour une Implantation Conforme
8
..........................................................
4.1.2.1 Documentation des Fonctionnalités Optionnelles
8
...................................
4.1.2.2 Documentation des Fonctionnalités d’une Implantation Définie
8
4.1.2.3 Extensions Cohérentes .
9
.................................................................................................................
4.2 Programmes conformes
9
.........................................................
4.2.1 Comportement Requis pour un Programme Conforme
9
.......................................................
4.2.2 Documentation Requise pour un Programme Conforme
10
5 Définitions b*bbbbb**b*bbbbbbbbbbbbbbbbb*b*bbbbbbbbbbb*bebbbbbbbbbb**bbbbbbbbbbbbbbb.bbbbbbbbb**bb*bb*bbbbbbbbbbbbbb*bbb*bbbbbbbbbbb*bbb.*bbbb**bbbb
10
5.1 Caractères .
12
........................................................................................................................................
5.2 Nombres
12
5.2.1 Opérations Elémentaires .
13
.........................................................................................................
5.2.2 Constantes Numériques
14
.......................................................................
5.2.3 Sous-Ensembles de l’Ensemble des Nombres
16
...................................................................................................
5.2.4 Algorithmes d’implantation
17
5.2.5 Opérations Définies .
19
............................................................................................................................................
5.3 Objets
19
......................................................................................................................................
5.3.1 Listes
20
5.3.2 Tableaux .
21
5.3.3 Fonctions Définies .
22
5.3.4 Lexèmes .
25
.....................................................................................................................
5.3.4.1 Métaclasses
25
...............................................................................................................
5.3.4.2 Liste d’Indices
25
5.3.5 Symboles .
26
5.3.6 Contextes .
26
..................................................................................................................
5.3.7 Zones de Travail
27
5.3.8 Sessions .
28
................................................................................................................
5.3.9 Variables Partagées
29
5.3.10 Systèmes .
.*.
111

---------------------- Page: 3 ----------------------
ISO 8485 : 1989 (F)
31
.................................................................................................................
5.4 Séquences d’évaluation
31
.................................................................
5.4.1 Expressions Propres aux Séquences d’Evaluation
33
...........................................................................................................................
5.4.2 Diagrammes
34
.................................................................................................................................
5.5 Autres termes
35
......................................................................................................................
6 Syntaxe et Evaluation
35
6.1 Introduction .
35
6.1.1 Evaluer une Ligne .
37
....................................................................................................
6.1.2 Diagrammes de Caractères
44
..........................................................................................................
6.1.3 Evaluer une Instruction
45
...........................................................................................................
6.1.4 Lier la Classe Lexicale
46
........................................................................................................
6.1.5 Conversion d’un Littéral
47
.........................................................
6.1.6 Diagrammes de Lexèmes d' Analyse d’une Instruction
.................................................................................................................. 52
6.2 Réduire une Instruction
56
......................................................................................................
6.3 Les Evaluateurs d’Expressions
56
6.3.1 Diagrammes .
57
..........................................................................................................
6.3.2 Enlever les Parenthèses
57
............................................................................................
6.3.3 Evaluer une Fonction Niladique
58
..........................................................................................
6.3.4 Evaluer une Fonction Monadique
59
..........................................................................................
6.3.5 Evaluer un Opérateur Monadique
60
.............................................................................................
6.3.6 Evaluer une Fonction Diadique
61
.............................................................................................
6.3.7 Evaluer un Opérateur Diadique
62
..............................................................................................
6.3.8 Evaluer une Référence Indicée
63
.........................................................................................................
6.3.9 Evaluer une Affectation
64
..........................................................................................
6.3.10 Evaluer une Affectation Indicée
65
............................................................................................................
6.3.11 Evaluer une Variable
66
.............................................................................................
6.3.12 Construire une Liste d’Indices
67
................................................................................................
6.3.13 Traiter une Fin d’instruction
68
.................................................................................................
6.4 La Table des Formes Syntaxiques
72
..........................................................................................................................
7 Fonctions Scalaires
73
...................................................................................................
7.1 Fonctions Scalaires Monadiques
73
7.1.1 Prise du conjugué .
73
.............................................................................................................
7.1.2 Changement de signe
74
7.1.3 Signe .
74
7.1.4 Inverse .
75
7.1.5 Plancher .
75
...................................................................................................................................
7.1.6 Plafond
76
.......................................................................................................................
7.1.7 Exponentiation
76
................................................................................................................
7.1.8 Logarithme Naturel
77
7.1.9 Module .
77
7.1.10 Factorielle .
78
7.1.11 Pi fois .
78
7.1.12 Non .
79
......................................................................................................
7.2 Fonctions Scalaires Diadiques
80
.................................................................................................................................
7.2.1 Addition
80
............................................................................................................................
7.2.2 Soustraction
81
.........................................................................................................................
7.2.3 Multiplication
81
7.2.4 Division .
82
...............................................................................................................................
7.2.5 Maximum
82
...............................................................................................................................
7.2.6 Minimum
83
......................................................................................................
7.2.7 Elévation à une puissance
83
.............................................................................................................................
7.2.8 Logarithme
84
...................................................................................................................................
7.2.9 Modulo
85
..............................................................................................................
7.2.10 Fonction Binomiale
86
...........................................................................................................
7.2.11 Fonctions Circulaires
88
7.2.12 Et .
88
7.2.13 Ou .
89
..................................................................................................................................
7.2.14 Non-Et

---------------------- Page: 4 ----------------------
ISO 8485 : 1989 (F)
89
7.2.15 Non-Ou .
90
7.2.16 Egal à .
92
.............................................................................................................................
7.2.17 Inférieur à
92
...............................................................................................................
7.2.18 Inférieur ou Egal à
93
............................................................................................................................
7.2.19 Non Egal à
93
7.2.20 Supérieur ou Egal à .
94
7.2.21 Supérieur à .
95
bbbbbbbb.bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
8 Fonctions Primitives de Structuration
95
8.1 Introduction .
95
......................................................................
8.2 Fonctions Primitives de Structuration Monadiques
95
8.2.1 Linéarisation .
96
8.2.2 Dimension .
97
8.2.3 Générateur d’Ind.ices .
98
..........................................................................
8.3 Fonctions Primitives de Structuration Diadiques
98
.......................................................................................................................
8.3.1 Restructuration
99
..........................................................................................................................
8.3.2 Juxtaposition
100
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
9 Opérateurs
100
9.1 Introduction .
100
.................................................................................................................
9.2 Opérateurs Monadiques
100
9.2.1 Réduction .
103
................................................................................................................................
9.2.2 Balayage.
105
....................................................................................................................
9.3 Opérateurs Diadiques
105
.......................................................................................................................
9.3.1 Produit externe
106
9.3.2 Produit interne .
107
10 Fonctions Mixtes bbbbbbbbbbbbbbbWbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb.bbbbbbbbbbbbbbbbbbbbbbb
107
....................................................................................................
10.1 Fonctions Mixtes Monadiques
107
...................................................................................................................
10.1.1 Tirage Aléatoire
109
........................................................................................................
10.1.2 Ordre de Tri Ascendant
110
......................................................................................................
10.1.3 Ordre de Tri Descendant
111
.......................................................................................................................
10.1.4 Renversement
112
10.1.5 Transposition Monadique .
113
10.1.6 Inversion de Matrice .
114
10.1.7 Exécution .
115
10.2 Fonctions Mixtes Diadiques .
115
10.2.1 Juxtaposition Selon un Axe .
118
10.2.2 Indice de .
119
10.2.3 Appartenance .
120
..............................................................................................
10.2.4 Tirage Aléatoire Sans Remise
121
........................................................................................................................
10.2.5 Compression
123
.............................................................................................................................
10.2.6 Expansion
125
.........................................................................................................
10.2.7 Permutation Circulaire
127
..............................................................................................................................
10.2.8 Décodage
128
.................................................................................................................................
10.2.9 Codage
130
10.2.10 Transposition Diadique .
132
..........................................................................................................................
10.2.11 Préhension
133
10.2.12 Abandon .
134
10.2.13 Division Matricielle .
135
10.2.14 Référence Indicée .
136
.............................................................................................................
10.2.15 Affectation Indicée
138
....................................................................................................................
11 Fonctions du Système
138
.................................................................................................................................
11.1 Introduction
138
....................................................................................................................................
11.2 Définition
138
..................................................................................................................................
11.3 Diagramme
139
...............................................................................................
11.4 Fonctions Niladiques du Système
139
...........................................................................................................................
11.4.1 Horodateur
V

---------------------- Page: 5 ----------------------
ISO 8485 : 1989 (F)
140
................................................................................................................
11.4.2 Vecteur Atomique
140
............................................................................................................
11.4.3 Compteur de Ligne
141
.............................................................................................
11.5 Fonctions Mo&diques du Système
141
......................................................................................................................
11.5.1 Temporisation
142
....................................................................................................................
11.5.2 Classe de Noms
143
..........................................................................................................................
11.5.3 Suppression
143
......................................................................................................................
11.5.4 Liste de Noms
144
...................................................................................
11.5.5 Requête d’Information sur les Arrêts
144
.................................................................................. .
11.5.6 Requête d’Information sur les Traces
145
................................................................................................
11.6 Fonctions Diadiques du Système
145
......................................................................................................................
11.6.1 Liste de Noms
145
.......................................................................................
11.6.2 Assignation des Contrôles d' Arrêt
146
.....................................................................................
11.6.3 Assignation des Contrôles de Trace
147
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb*b.bbbbbbb
12 Variables du Système
147
..................................................................................................................................
12.1 Définitions
148
.............................................................................................................
12.2 Séquences d’Evaluation
148
..................................................................................................
12.2.1 Tolérance de Comparaison
149
..............................................................................
12.2.2 Germe des Nombres Pseudo-Aléatoires
150
.........................................................................................................
12.2.3 Pkision d’impression
151
..............................................................................................................
12.2.4 Origine des Indices
152
................................................................................................................
12.2.5 Expression latente
153
13 Fonctions Définies bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb*bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
153
13.1 Introduction .
154
13.2 D&initions .
157
...............................................................................................................................
13.3 Diagrammes
160
..................................................................................................................................
13.4 Opérations
160
................................................................................................
13.4.1 Appel de Fonction Définie
161
............................................................................................
13.4.2 Contr&e de Fonction Définie
162
........................................................................................................
13.4.3 Génération de Fonction
............................. 163
13.4.4 Reprhentation Sous Forme de Caractères (Représentation Canonique)
164
13.5 Edition de Fonction .
164
..................................................................
13.5.1 Evaluer une Requête de Définition de Fonction
165
............................................................................................
13.5.2 Evaluer une Requête d’Edition
167
13.5.3 Diagrammes .
169
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
14 Variables Partagées.
169
.............................................................................................................
14.1
...

Questions, Comments and Discussion

Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.