Debian Codegraph @

source_2012/front_matter.mss

raw
1 @Part(frontmatter, root="ada.mss")
2 @comment{$Source: e:\\cvsroot/ARM/Source/front_matter.mss,v $}
3 @comment{$Revision: 1.87 $ $Date: 2016/02/12 05:25:38 $}
4
5 @comment{(*Removed the below for Ada 2012, which was a revision*)}
6 @ChgNote{Following is a foreword for the consolidated edition of the RM/AARM.}
7 @UnNumberedSection(Foreword to this version of the Ada Reference Manual)
8 @ChgNote{The above has to be manually commented out if creating "original" RMs.
9 We shouldn't need to do that again.}
10 @ChgNote{We needed boilerplate like this to avoid objections from various
11 outside parties. It seems unlikely that the same objections won't be raised
12 again.}
13 @begin{Intro}
14 @begin{NotISO}
15 @ChgRef{Version=[1],Kind=[Added]}
16 @ChgRef{Version=[4],Kind=[RevisedAdded]}
17 @ChgAdded{Version=[1],Text=[The International Standard for the
18 programming language Ada is ISO/IEC 8652:@Chg{Version=[4],New=[2012],Old=[1995]}(E).]}
19
20 @ChgRef{Version=[1],Kind=[Added]}
21 @ChgRef{Version=[4],Kind=[RevisedAdded]}
22 @ChgAdded{Version=[1],Text=[The Ada Working Group ISO/IEC JTC 1/SC 22/WG 9 is tasked by ISO with
23 the work item to interpret and maintain the International Standard and to
24 produce Technical Corrigenda, as appropriate. The technical work on the
25 International Standard is performed by the Ada Rapporteur Group (ARG) of WG 9.
26 In @Chg{Version=[4],New=[June 2015],Old=[September 2000]}, WG 9 approved and
27 forwarded Technical Corrigendum 1 to SC 22 for ISO approval, which was granted
28 in @Chg{Version=[4],New=[December 2015],Old=[February 2001]}. Technical
29 Corrigendum 1 was published in @Chg{Version=[4],New=[February 2016],Old=[June 2001]}.]}
30
31 @ChgRef{Version=[2],Kind=[Added]}
32 @ChgRef{Version=[3],Kind=[RevisedAdded]}
33 @ChgRef{Version=[4],Kind=[DeletedAddedNoDelMsg]}
34 @ChgRef{Version=[5],Kind=[RevisedAdded]}
35 @ChgAdded{Version=[2],Text=[@Chg{Version=[4],New=[@Chg{Version=[5],New=[In
36 June 2016, WG 9 approved a tentative schedule for the preparation of
37 an Amendment or Revision to the International Standard, with a delivery
38 no earlier than 2018. For the purposes of this document, we'll call this
39 Ada 202x, even though the final timing and form has not yet been determined.],Old=[]}],Old=[In
40 October 2002, WG 9 approved a schedule and
41 guidelines for the preparation of an Amendment to the International Standard.
42 WG 9 approved the scope of the Amendment in June 2004. In April 2006, WG 9
43 approved and forwarded the Amendment to SC 22 for approval, which was granted
44 in August 2006. Final ISO/IEC approval @Chg{Version=[3],New=[came in January 2007,
45 and the Amendment was published as ISO/IEC 8652:1995/Amd 1:2007(E) in March],Old=[is expected
46 by early]} 2007.]}]}
47
48 @ChgRef{Version=[1],Kind=[Added]}
49 @ChgRef{Version=[4],Kind=[RevisedAdded]}
50 @ChgAdded{Version=[1],Text=[The Technical Corrigendum lists the individual
51 changes that need to be made to the text of the International Standard to
52 correct errors, omissions or inconsistencies. The corrections specified in
53 Technical Corrigendum 1 are
54 part of the International Standard ISO/IEC 8652:@Chg{Version=[4],New=[2012],Old=[1995]}(E).]}
55
56 @ChgRef{Version=[2],Kind=[Added]}
57 @ChgRef{Version=[3],Kind=[RevisedAdded]}
58 @ChgRef{Version=[4],Kind=[DeletedAddedNoDelMsg]}
59 @ChgAdded{Version=[2],Text=[@Chg{Version=[4],New=[],Old=[Similarly, Amendment 1 @Chg{Version=[3],New=[and
60 Amendment 2 list],Old=[lists]} the individual changes that
61 need to be made to the text of the International Standard to add new features
62 as well as correct errors.]}]}
63
64 @ChgRef{Version=[1],Kind=[Added]}
65 @ChgRef{Version=[2],Kind=[RevisedAdded]}
66 @ChgRef{Version=[3],Kind=[RevisedAdded]}
67 @ChgRef{Version=[4],Kind=[RevisedAdded]}
68 @ChgRef{Version=[5],Kind=[RevisedAdded]}
69 @Chg{New=[@Chg{Version=[5],New=[It is not known whether ISO will
70 publish a document that merges the changes of Ada 202x
71 into the text of the International Standard.],
72 Old=[When ISO published Technical Corrigendum 1, it did not also publish
73 a document that merges the @Chg{Version=[2],New=[changes from the ],Old=[]}Technical
74 Corrigendum @Chg{Version=[2],New=[],Old=[changes ]}into
75 the text of the International Standard.@Chg{Version=[4],New=[],Old=[@Chg{Version=[2],New=[ @Chg{Version=[3],
76 New=[Similarly,],Old=[It is not
77 known whether]} ISO @Chg{Version=[3],New=[did not],Old=[will]} publish a
78 document that merges the changes from
79 Technical Corrigendum and Amendment 1 into the text of the International
80 Standard.],Old=[]}@Chg{Version=[3],New=[ It is not known whether ISO will
81 publish a document that merges the changes from Technical Corrigendum 1,
82 Amendment 1, and Amendment 2 into the text of the International
83 Standard.],Old=[]}]}]}
84 However, ISO rules require that the
85 project editor for the @Chg{Version=[2],New=[International Standard],
86 Old=[Technical Corrigendum]} be able to produce such a document
87 on demand.],Old=[]}
88
89 @ChgRef{Version=[1],Kind=[Added]}
90 @ChgRef{Version=[2],Kind=[RevisedAdded]}
91 @ChgRef{Version=[3],Kind=[RevisedAdded]}
92 @ChgRef{Version=[4],Kind=[RevisedAdded]}
93 @ChgRef{Version=[5],Kind=[RevisedAdded]}
94 @Chg{New=[This version of the Ada Reference Manual is what the project editor would
95 provide to ISO in response to such a request. It incorporates the changes
96 specified in the Technical Corrigendum @Chg{Version=[4],New=[@Chg{Version=[5],New=[
97 and Ada 202x],Old=[]}],Old=[@Chg{Version=[2],New=[and
98 @Chg{Version=[3],New=[Amendments 1 and 2],Old=[Amendment]} ],Old=[]}]}into
99 the text of @Chg{Version=[4],New=[ISO/IEC 8652:2012(E)],Old=[ISO/IEC 8652:1995(E)]}.
100 It should be understood that the publication of any ISO document involves
101 changes in general format, boilerplate, headers, etc., as well as a review by professional
102 editors that may introduce editorial changes to the text. This version of the
103 Ada Reference Manual is therefore neither an official ISO document, nor a
104 version guaranteed to be identical to an official ISO document, should ISO
105 decide to reprint the International Standard incorporating an approved Technical
106 Corrigendum@Chg{Version=[4],New=[@Chg{Version=[5],New=[ and the
107 Amendment],Old=[]}],Old=[@Chg{Version=[2],New=[ and @Chg{Version=[3],New=[Amendments],Old=[Amendment]}],
108 Old=[]}]}. It is nevertheless a
109 best effort to be as close as possible to the
110 technical content of such an updated document. In the case of a conflict between this
111 document and @Chg{Version=[5],New=[Ada 202x (or between this document and
112 Technical Corrigendum 1 as approved by ISO in the case of paragraphs not changed
113 by the Corrigendum; or between this document and ],Old=[@Chg{Version=[4],
114 New=[Technical Corrigendum 1 as approved by ISO (or
115 between this document and ],Old=[@Chg{Version=[2],New=[Amendment],Old=[Technical Corrigendum]}
116 @Chg{Version=[3],New=[2],Old=[1]} as approved by ISO (or between this document
117 and@Chg{Version=[3],New=[ Amendment 1 in the case of paragraphs
118 not changed by Amendment 2; or between this document and],Old=[]}
119 @Chg{Version=[2],New=[Technical Corrigendum 1 in the case of paragraphs
120 not changed by @Chg{Version=[3],New=[either ],Old=[]}Amendment@Chg{Version=[3],New=[],Old=[ 1]};
121 or between this document and ],Old=[]}]}]}the
122 original 8652:@Chg{Version=[4],New=[2012],Old=[1995]} in the case of paragraphs
123 not changed by @Chg{Version=[4],New=[],Old=[@Chg{Version=[2],
124 New=[either Amendment@Chg{Version=[3],New=[],Old=[ 1]} or ],
125 Old=[]}]}Technical Corrigendum 1), the other documents contain the official
126 text of the
127 International Standard @Chg{Version=[4],New=[ISO/IEC 8652:2012(E)],Old=[
128 ISO/IEC 8652:1995(E)@Chg{Version=[2],New=[ and
129 its @Chg{Version=[3],New=[Amendments],Old=[Amendment]}],Old=[]}]}.],Old=[]}
130
131 @ChgRef{Version=[1],Kind=[Added]}
132 @ChgRef{Version=[2],Kind=[RevisedAdded]}
133 @ChgRef{Version=[3],Kind=[RevisedAdded]}
134 @ChgRef{Version=[4],Kind=[RevisedAdded]}
135 @ChgRef{Version=[5],Kind=[RevisedAdded]}
136 @Chg{New=[As it is very inconvenient to have the Reference Manual for Ada
137 specified in @Chg{Version=[4],New=[@Chg{Version=[5],New=[three],Old=[two]}],
138 Old=[@Chg{Version=[2],New=[@Chg{Version=[3],New=[four],Old=[three]}],
139 Old=[two]}]} documents, this
140 consolidated version of the Ada Reference
141 Manual is made available to the public.],Old=[]}
142
143 @end{NotISO}
144 @end{Intro}
145 @Comment{(*End of Foreword Foreword, not needed for Ada 2012*)}
146
147
148 @UnNumberedSection(Foreword)
149 @begin{Intro}
150
151 @ChgRef{Version=[3],Kind=[Revised]}@ChgNote{Updated boilerplate}
152 ISO (the International Organization for Standardization)
153 and IEC (the International Electrotechnical Commission)
154 form the specialized system for worldwide standardization.
155 National bodies that are members of ISO or IEC
156 participate in the development of International Standards through
157 technical committees established by the respective organization to deal
158 with particular fields of technical activity.
159 ISO and IEC technical committees collaborate in fields of mutual
160 interest.
161 Other international organizations, governmental and non-governmental,
162 in liaison with ISO and IEC, also take part in the work.@Chg{Version=[3],New=[ In
163 the field of information technology,
164 ISO and IEC have established a joint technical committee, ISO/IEC JTC 1.],Old=[]}
165
166 @ChgRef{Version=[3],Kind=[Added]}@ChgNote{Updated boilerplate}
167 @ChgAdded{Version=[3],Text=[International Standards are drafted in accordance
168 with the rules given in the ISO/IEC Directives, Part 2.]}
169
170 @ChgRef{Version=[3],Kind=[Revised]}@ChgNote{Updated boilerplate}
171 @Chg{Version=[3],New=[The main task of the],Old=[In the field of information
172 technology, ISO and IEC have established a]} joint technical
173 committee@Chg{Version=[3],New=[ is to prepare
174 International Standards],Old=[, ISO/IEC JTC 1]}.
175 Draft International Standards adopted by the joint technical committee
176 are circulated to national bodies for voting.
177 Publication as an International Standard requires approval by
178 at least 75 % of the national bodies casting a vote.
179
180 @ChgRef{Version=[3],Kind=[Added]}@ChgNote{Updated boilerplate}
181 @ChgAdded{Version=[3],Text=[Attention is drawn to the possibility that some of
182 the elements of this document may be the subject of patent rights. ISO and IEC
183 shall not be held responsible for identifying any or all such patent rights.]}
184
185 @ChgRef{Version=[3],Kind=[Revised]}
186 International Standard ISO/IEC 8652 was prepared by
187 Joint Technical Committee ISO/IEC JTC 1,
188 @i{Information Technology}@Chg{Version=[3],New=[ Subcommittee SC22, @i{Programming
189 languages, their environments and system software interfaces}],Old=[]}.
190
191 @ChgRef{Version=[2],Kind=[Revised]}
192 @ChgRef{Version=[3],Kind=[Revised],ARef=[AI05-0299-1]}
193 @ChgRef{Version=[4],Kind=[Revised]}
194 @ChgRef{Version=[5],Kind=[Revised]}
195 This @Chg{Version=[4],New=[consolidated edition updates the third edition
196 (ISO/IEC 8652:2012).],Old=[@Chg{Version=[3],New=[third],Old=[@Chg{Version=[2],New=[consolidated],Old=[second]}]}
197 edition @Chg{Version=[3],New=[cancels and replaces],Old=[@Chg{Version=[2],
198 New=[updates],Old=[cancels and replaces]}]} the @Chg{Version=[2],New=[second],Old=[first]}
199 edition (ISO@Chg{Version=[3],New=[/IEC],Old=[]} 8652:@Chg{Version=[2],New=[1995)],Old=[1987), of which it constitutes
200 a technical revision]}@Chg{Version=[3],New=[, which has been technically revised.
201 It also incorporates the Technical Corrigendum ISO/IEC 8652:1995:COR.1:2001
202 and Amendment ISO/IEC 8652:1995:AMD 1:2007],Old=[]}.]}
203 @Chg{Version=[5],New=[@Red{@b{This version includes corrections and improvements
204 intended for a future version of Ada, herein named Ada 202x. Besides the
205 corrections included in Technical Corrigendum 1, additional corrections and
206 improvements are expected for Ada 202x; the timing and form (Corrigendum,
207 Amendment, Revision) of future improvements has not yet been finalized.
208 Thus, any proposed feature or correction may be substantially changed or withdrawn
209 before an updated language begins standardization. These draft documents are not
210 an official publication or work product of the ARG, but rather are provided by
211 the Ada Resource Association
212 (@URLLink{URL=[http://www.adaresource.org],Text=[www.adaresource.org]})
213 as a service to the Ada community.}}],Old=[]}
214
215 @Comment{Old text: At this time, no decisions
216 have been made as to when, if, or in what form (Corrigendum, Amendment, Revision)
217 these corrections and improvements will be added to Ada.}
218
219 @begin{Discussion}
220 @ChgRef{Version=[2],Kind=[AddedNormal]}
221 @ChgRef{Version=[3],Kind=[DeletedNoDelMsg]}
222 @ChgAdded{Version=[2],Text=[@Chg{Version=[3],New=[],Old=[The above is
223 unofficial wording added just to avoid confusion. If ISO decides
224 to publish a new standard, the above would be replaced by @ldquote@;This third
225 edition cancels and replaces the second edition (ISO 8652:1995), of which it
226 constitutes a technical revision@rdquote. The first three paragraphs in this
227 section also would be replaced by the current ISO boilerplate.]}]}
228 @end{Discussion}
229
230
231 @ChgRef{Version=[2],Kind=[Revised],ARef=[AI95-00440-01]}
232 @ChgRef{Version=[3],Kind=[DeletedNoDelMsg],ARef=[AI05-0299-1]}
233 @ChgDeleted{Version=[3],Text=[Annexes A to J form an integral part of this
234 International Standard.
235 Annexes K to @Chg{Version=[2],New=[Q],Old=[P]} are for information only.]}
236
237
238 @begin{Discussion}
239 @ChgRef{Version=[3],Kind=[Revised]}
240 @ChgRef{Version=[5],Kind=[Revised]}
241 This document is the Annotated Ada Reference Manual (AARM).
242 It contains the entire text of the Ada
243 @Chg{Version=[3],New=[@Chg{Version=[5],New=[202x],Old=[2012]}],Old=[95]} standard
244 (ISO/IEC 8652:@Chg{Version=[3],New=[@Chg{Version=[5],New=[202x],Old=[2012]}],Old=[1995]}),
245 plus various annotations.
246 It is intended primarily for compiler writers,
247 validation test writers, and other language lawyers.
248 The annotations include detailed rationale for individual rules
249 and explanations of some of the more arcane interactions among the
250 rules.
251 @end{Discussion}
252 @end{Intro}
253 @begin{Comment} (*Was Syntax9XOnly - We don't generate this document anymore*)
254 This document lists the syntax rules of Ada 95.
255 @end{Comment}
256 @begin{Comment} (*Was Chg839XOnly - We don't generate this document anymore*)
257
258 This document lists in detail the changes introduced in the second
259 (Ada 95) edition of the Ada standard (ISO/IEC 8652:1995)
260 with respect to the first (Ada 83) edition (ISO 8652:1987).
261
262 @end{Comment}
263
264
265 @UnNumberedSection{Introduction}
266
267 @begin{Intro}
268 @begin{NotISO}
269 @begin{AARMOnly}
270 This is the Annotated Ada Reference Manual.
271 @end{AARMOnly}
272 @begin{RMOnly}
273 This is the Ada Reference Manual.
274 @end{RMOnly}
275
276 @Leading@;Other available Ada documents include:
277 @comment{We have to put the itemize inside of the AARMOnly, because otherwise
278 the formatter thinks this is a nested bullet, making a mess. Since this is
279 the only place this is used, it is easier to fix the text than the program.
280 RLB - 2000-05-17}
281 @begin{AARMOnly}
282 @begin{Itemize}
283 @ChgRef{Version=[2],Kind=[Revised],ARef=[AI95-00387-01]}
284 @ChgRef{Version=[3],Kind=[Revised],ARef=[AI05-0245-1]}
285 @Chg{Version=[3],New=[Ada 2012 Rationale. This gives an introduction to the changes and
286 new features in Ada 2012, and explains the rationale behind them.
287 Programmers should read this rationale before reading this Standard
288 in depth. Rationales for Ada 83, Ada 95, and Ada 2005 are also
289 available.],Old=[@Chg{Version=[2],New=[Ada 95 Rationale. This],Old=[Rationale for the Ada
290 Programming Language @em 1995 edition, which]} gives an introduction to the
291 new features of Ada@Chg{Version=[2],New=[ incorporated in the 1995 edition
292 of this Standard],Old=[]}, and explains the rationale behind them.
293 Programmers @Chg{Version=[2],New=[unfamiliar with Ada 95 ],
294 Old=[]}should read this first.]}
295
296 @begin{Discussion}
297 @ChgRef{Version=[3],Kind=[AddedNormal],ARef=[AI05-0245-1]}
298 @ChgRef{Version=[4],Kind=[DeletedAddedNoDelMsg]}@Comment{Done now.}
299 @ChgAdded{Version=[3],Text=[@Chg{Version=[4],New=[],Old=[As of this writing
300 (December 2012), only five
301 chapters of the Ada 2012 Rationale have been published. Additional
302 chapters are in development and should be published during 2013.]}]}
303 @end{Discussion}
304
305 @ChgRef{Version=[2],Kind=[Added],ARef=[AI95-00387-01]}
306 @ChgRef{Version=[3],Kind=[DeletedAddedNoDelMsg],ARef=[AI05-0245-1]}
307 @ChgAdded{Version=[2],Text=[@Chg{Version=[3],New=[],Old=[Ada 2005 Rationale.
308 This gives an introduction to the changes and new features in Ada 2005 (compared
309 with the 1995 edition), and explains the rationale behind them. Programmers
310 should read this rationale before reading this Standard in depth.]}]}
311
312 @ChgRef{Version=[1],Kind=[Deleted]}
313 @ChgDeleted{Version=[1],Text=[Changes to Ada @em 1987 to 1995. This document
314 lists in detail the changes made to the 1987 edition of the standard.]}
315
316 @ChgRef{Version=[3],Kind=[Revised]}
317 The Ada Reference Manual (RM).
318 This is the International Standard @em ISO/IEC 8652:@Chg{Version=[3],New=[2012],Old=[1995]}.
319
320 @ChgRef{Version=[2],Kind=[Added]}
321 @ChgRef{Version=[3],Kind=[DeletedAddedNoDelMsg]}
322 @ChgAdded{Version=[2],Text=[@Chg{Version=[3],New=[],Old=[Technical Corrigendum 1
323 @em ISO/IEC 8652:1995:COR.1:2001. This document lists corrections to the
324 International Standard.]}]}@ChgNote{This is consolidated into the Ada 2012 RM}
325
326 @ChgRef{Version=[2],Kind=[Added]}
327 @ChgRef{Version=[3],Kind=[DeletedAddedNoDelMsg]}
328 @ChgAdded{Version=[2],Text=[@Chg{Version=[3],New=[],Old=[Amendment 1 @em ISO/IEC
329 8652:1995:AMD 1:2007. This document outlines additional features and corrections
330 to the International Standard.]}]}@ChgNote{This is consolidated into the Ada 2012 RM}
331
332 @ChgRef{Version=[2],Kind=[Added]}
333 @ChgRef{Version=[3],Kind=[DeletedAddedNoDelMsg]}
334 @ChgAdded{Version=[2],Text=[@Chg{Version=[3],New=[],Old=[The consolidated Ada Reference Manual. An @i{unofficial}
335 document combining the above three
336 documents into a single document.]}]}
337 @end{Itemize}
338 @end{AARMOnly}
339
340 @begin{RMOnly}
341 @begin{Itemize}
342 @ChgRef{Version=[2],Kind=[Revised],ARef=[AI95-00387-01]}
343 @ChgRef{Version=[3],Kind=[Revised],ARef=[AI05-0245-1]}
344 @Chg{Version=[3],New=[Ada 2012 Rationale. This gives an introduction to the changes and
345 new features in Ada 2012, and explains the rationale behind them.
346 Programmers should read this rationale before reading this Standard
347 in depth. Rationales for Ada 83, Ada 95, and Ada 2005 are also
348 available.],Old=[@Chg{Version=[2],New=[Ada 95 Rationale. This],Old=[Rationale for the Ada
349 Programming Language @em 1995 edition, which]} gives an introduction to the
350 new features of Ada@Chg{Version=[2],New=[ incorporated in the 1995 edition
351 of this Standard],Old=[]}, and explains the rationale behind them.
352 Programmers @Chg{Version=[2],New=[unfamiliar with Ada 95 ],
353 Old=[]}should read this first.]}
354
355 @ChgRef{Version=[2],Kind=[Added],ARef=[AI95-00387-01]}
356 @ChgRef{Version=[3],Kind=[DeletedAddedNoDelMsg],ARef=[AI05-0245-1]}
357 @ChgAdded{Version=[2],Text=[@Chg{Version=[3],New=[],Old=[Ada 2005 Rationale.
358 This gives an introduction to the changes and new features in Ada 2005 (compared
359 with the 1995 edition), and explains the rationale behind them. Programmers
360 should read this rationale before reading this Standard in depth.]}]}
361
362 @ChgRef{Version=[1],Kind=[Deleted]}
363 @ChgDeleted{Version=[1], Text=[Changes to Ada @em 1987 to 1995. This document lists in
364 detail the changes made to the 1987 edition of the standard.]}
365
366 @ChgRef{Version=[2],Kind=[Revised],ARef=[AI95-00387-01]}
367 @ChgRef{Version=[3],Kind=[Revised]}
368 The Annotated Ada Reference Manual (AARM).@Defn{Annotated Ada Reference Manual}
369 @Defn{AARM}The AARM contains all of the text
370 in @Chg{Version=[3],New=[this International Standard],
371 Old=[@Chg{Version=[2],New=[the consolidated Ada Reference Manual],Old=[the RM95]}]},
372 @ChgNote{Version=[2]: John had "this International Standard", but it's really
373 related to the unofficial document. Change it back if ISO decides to publish
374 this consolidated RM.}
375 @ChgNote{Version=[3]: Changed back for Ada 2012.}
376 plus various annotations. It is intended primarily for compiler writers,
377 validation test writers,
378 and others who wish to study the fine details.
379 The annotations include detailed rationale for individual rules
380 and explanations of some of the more arcane interactions among the
381 rules.
382 @end{Itemize}
383 @end{RMOnly}
384 @end{NotISO}
385 @end{Intro}
386
387 @SubHeading(Design Goals)
388
389 @begin{Intro}
390 @ChgRef{Version=[2],Kind=[Revised],ARef=[AI95-00387-01]}
391 @ChgRef{Version=[3],Kind=[Revised]}
392 Ada was originally designed with three overriding concerns:
393 program reliability and maintenance, programming as a human
394 activity, and efficiency. @Chg{Version=[2],New=[The 1995],Old=[This]} revision
395 to the language was designed to provide greater flexibility and extensibility,
396 additional control over storage management and
397 synchronization, and standardized packages oriented toward
398 supporting important application areas, while at the same
399 time retaining the original emphasis on reliability,
400 maintainability, and efficiency.@Chg{Version=[2],New=[ This
401 @Chg{Version=[3],New=[third edition],Old=[amended version]}
402 provides further flexibility and adds more standardized packages within the
403 framework provided by the 1995 revision.],Old=[]}
404
405 The need for languages that promote reliability and simplify
406 maintenance is well established. Hence emphasis was placed
407 on program readability over ease of writing. For example,
408 the rules of the language require that program variables be
409 explicitly declared and that their type be specified. Since
410 the type of a variable is invariant, compilers can ensure
411 that operations on variables are compatible with the
412 properties intended for objects of the type. Furthermore,
413 error-prone notations have been avoided, and the syntax of
414 the language avoids the use of encoded forms in favor of
415 more English-like constructs. Finally, the language offers
416 support for separate compilation of program units in a way
417 that facilitates program development and maintenance, and
418 which provides the same degree of checking between units as
419 within a unit.
420
421 Concern for the human programmer was also stressed during
422 the design. Above all, an attempt was made to keep to a
423 relatively small number of underlying concepts integrated in
424 a consistent and systematic way while continuing to avoid
425 the pitfalls of excessive involution. The design especially
426 aims to provide language constructs that correspond
427 intuitively to the normal expectations of users.
428
429 Like many other human activities, the development of
430 programs is becoming ever more decentralized and
431 distributed. Consequently, the ability to assemble a
432 program from independently produced software components
433 continues to be a central idea in the design. The concepts
434 of packages, of private types, and of generic units are
435 directly related to this idea, which has ramifications in
436 many other aspects of the language. An allied concern is
437 the maintenance of programs to match changing requirements;
438 type extension and the hierarchical library enable a program
439 to be modified while minimizing disturbance to existing
440 tested and trusted components.
441
442 No language can avoid the problem of efficiency. Languages
443 that require over-elaborate compilers, or that lead to the
444 inefficient use of storage or execution time, force these
445 inefficiencies on all machines and on all programs. Every
446 construct of the language was examined in the light of
447 present implementation techniques. Any proposed construct
448 whose implementation was unclear or that required excessive
449 machine resources was rejected.
450 @end{Intro}
451
452 @SubHeading{Language Summary}
453
454 @begin{Intro}
455 An Ada program is composed of one or more program units.
456 Program units may be subprograms (which define executable
457 algorithms), packages (which define collections of
458 entities), task units (which define concurrent
459 computations), protected units (which define operations for
460 the coordinated sharing of data between tasks), or generic
461 units (which define parameterized forms of packages and
462 subprograms). Each program unit normally consists of two parts: a
463 specification, containing the information that must be
464 visible to other units, and a body, containing the
465 implementation details, which need not be visible to other
466 units. Most program units can be compiled separately.
467
468 This distinction of the specification and body, and the
469 ability to compile units separately, allows a program to be
470 designed, written, and tested as a set of largely
471 independent software components.
472
473 An Ada program will normally make use of a library of
474 program units of general utility. The language provides
475 means whereby individual organizations can construct their
476 own libraries. All libraries are structured in a
477 hierarchical manner; this enables the logical decomposition
478 of a subsystem into individual components. The text of a
479 separately compiled program unit must name the library units
480 it requires.
481
482
483 @keepnext@i(Program Units)
484
485 A subprogram is the basic unit for expressing an algorithm.
486 There are two kinds of subprograms: procedures and
487 functions. A procedure is the means of invoking a series of
488 actions. For example, it may read data, update variables,
489 or produce some output. It may have parameters, to provide
490 a controlled means of passing information between the
491 procedure and the point of call.
492 A function is the means of invoking the computation of a
493 value. It is similar to a procedure, but in addition will
494 return a result.
495
496 A package is the basic unit for defining a collection of
497 logically related entities. For example, a package can be
498 used to define a set of type declarations and
499 associated operations. Portions of a package can be hidden
500 from the user, thus allowing access only to the logical
501 properties expressed by the package specification.
502
503 Subprogram and package units may be compiled separately and
504 arranged in hierarchies of parent and child units giving
505 fine control over visibility of the logical properties and
506 their detailed implementation.
507
508 A task unit is the basic unit for defining a task whose
509 sequence of actions may be executed concurrently with those
510 of other tasks. Such tasks may be implemented on
511 multicomputers, multiprocessors, or with interleaved
512 execution on a single processor. A task unit may define
513 either a single executing task or a task type permitting the
514 creation of any number of similar tasks.
515
516 @ChgRef{Version=[2],Kind=[Revised],ARef=[AI95-00114-01]}
517 A protected unit is the basic unit for defining protected
518 operations for the coordinated use of data shared between
519 tasks. Simple mutual exclusion is provided automatically,
520 and more elaborate sharing protocols can be defined. A
521 protected operation can either be a subprogram or an entry.
522 A protected entry specifies a Boolean expression (an entry
523 barrier) that must be @Chg{Version=[2],New=[True],Old=[true]}
524 before the body of the entry is
525 executed. A protected unit may define a single protected
526 object or a protected type permitting the creation of
527 several similar objects.
528
529 @keepnext@i(Declarations and Statements)
530
531 The body of a program unit generally contains two parts: a
532 declarative part, which defines the logical entities to be
533 used in the program unit, and a sequence of statements,
534 which defines the execution of the program unit.
535
536 The declarative part associates names with declared
537 entities. For example, a name may denote a type, a
538 constant, a variable, or an exception. A declarative part
539 also introduces the names and parameters of other nested
540 subprograms, packages, task units, protected units, and
541 generic units to be used in the program unit.
542
543 The sequence of statements describes a sequence of actions
544 that are to be performed. The statements are executed in
545 succession (unless a transfer of control causes execution to continue
546 from another place).
547
548 An assignment statement changes the value of a variable. A
549 procedure call invokes execution of a procedure after
550 associating any actual parameters provided at the call with
551 the corresponding formal parameters.
552
553 Case statements and if statements allow the selection of an
554 enclosed sequence of statements based on the value of an
555 expression or on the value of a condition.
556
557 The loop statement provides the basic iterative mechanism in
558 the language. A loop statement specifies that a sequence of
559 statements is to be executed repeatedly as directed by an
560 iteration scheme, or until an exit statement is encountered.
561
562 A block statement comprises a sequence of statements
563 preceded by the declaration of local entities used by the
564 statements.
565
566 Certain statements are associated with concurrent execution.
567 A delay statement delays the execution of a task for a
568 specified duration or until a specified time. An entry call
569 statement is written as a procedure call statement; it
570 requests an operation on a task or on a protected
571 object, blocking the caller until the operation can be
572 performed. A called task may accept an entry call by
573 executing a corresponding accept statement, which specifies
574 the actions then to be performed as part of the rendezvous
575 with the calling task. An entry call on a protected object
576 is processed when the corresponding entry barrier evaluates
577 to true, whereupon the body of the entry is executed. The
578 requeue statement permits the provision of a service as a
579 number of related activities with preference control. One
580 form of the select statement allows a selective wait for one
581 of several alternative rendezvous. Other forms of the
582 select statement allow conditional or timed entry calls and
583 the asynchronous transfer of control in response to some
584 triggering event.
585
586 Execution of a program unit may encounter error situations
587 in which normal program execution cannot continue. For
588 example, an arithmetic computation may exceed the maximum
589 allowed value of a number, or an attempt may be made to
590 access an array component by using an incorrect index value.
591 To deal with such error situations, the statements of a
592 program unit can be textually followed by exception handlers
593 that specify the actions to be taken when the error
594 situation arises. Exceptions can be raised explicitly by a
595 raise statement.
596
597 @keepnext@i(Data Types)
598
599 Every object in the language has a type, which characterizes
600 a set of values and a set of applicable operations. The
601 main classes of types are elementary types (comprising
602 enumeration, numeric, and access types) and composite types
603 (including array and record types).
604
605 @ChgRef{Version=[2],Kind=[Revised],ARef=[AI95-00285-01],ARef=[AI95-00387-01]}
606 An enumeration type defines an ordered set of distinct
607 enumeration literals, for example a list of states or an
608 alphabet of characters. The enumeration types Boolean,
609 Character, @Chg{Version=[2],New=[],
610 Old=[and ]}Wide_Character@Chg{Version=[2],New=[, and Wide_Wide_Character],
611 Old=[]} are predefined.
612
613 Numeric types provide a means of performing exact or
614 approximate numerical computations. Exact computations use
615 integer types, which denote sets of consecutive integers.
616 Approximate computations use either fixed point types, with
617 absolute bounds on the error, or floating point types, with
618 relative bounds on the error. The numeric types Integer,
619 Float, and Duration are predefined.
620
621 @ChgRef{Version=[2],Kind=[Revised],ARef=[AI95-00285-01],ARef=[AI95-00387-01]}
622 Composite types allow definitions of structured objects with
623 related components. The composite types in the language
624 include arrays and records. An array is an object with
625 indexed components of the same type. A record is an object
626 with named components of possibly different types. Task and
627 protected types are also forms of composite types. The
628 array types String@Chg{Version=[2],New=[,],Old=[ and]}
629 Wide_String@Chg{Version=[2],
630 New=[, and Wide_Wide_String],Old=[]} are predefined.
631
632 Record, task, and protected types may have special components
633 called discriminants which parameterize the type.
634 Variant record structures that depend on the values of
635 discriminants can be defined within a record type.
636
637 Access types allow the construction of linked data
638 structures. A value of an access type represents a
639 reference to an object declared as aliased or to an object
640 created by the evaluation of an allocator. Several
641 variables of an access type may designate the same object,
642 and components of one object may designate the same or other
643 objects. Both the elements in such linked data structures
644 and their relation to other elements can be altered during
645 program execution. Access types also permit references to
646 subprograms to be stored, passed as parameters, and
647 ultimately dereferenced as part of an indirect call.
648
649 Private types permit restricted views of a type. A private
650 type can be defined in a package so that only the logically
651 necessary properties are made visible to the users of the
652 type. The full structural details that are externally
653 irrelevant are then only available within the package and
654 any child units.
655
656 From any type a new type may be defined by derivation. A type,
657 together with its derivatives (both direct and indirect)
658 form a derivation class. Class-wide operations may be
659 defined that accept as a parameter an operand of any type in
660 a derivation class. For record and private types, the derivatives may
661 be extensions of the parent type. Types that support these
662 object-oriented capabilities of class-wide operations and type extension
663 must be tagged, so that
664 the specific type of an operand within a derivation class can
665 be identified at run time. When an operation of a tagged
666 type is applied to an operand whose specific type is not
667 known until run time, implicit dispatching is performed
668 based on the tag of the operand.
669
670 @ChgRef{Version=[2],Kind=[Added],ARef=[AI95-00387-01]}
671 @ChgAdded{Version=[2],Text=[
672 Interface types provide abstract models from which other interfaces and
673 types may be composed and derived. This provides a reliable form of multiple
674 inheritance. Interface types may also be implemented by
675 task types and protected types thereby enabling concurrent programming and
676 inheritance to be merged.]}
677
678 The concept of a type is further refined by the concept of a
679 subtype, whereby a user can constrain the set of allowed
680 values of a type. Subtypes can be used to define subranges
681 of scalar types, arrays with a limited set of index values,
682 and records and private types with particular discriminant
683 values.
684
685 @keepnext@i(Other Facilities)
686
687 @ChgRef{Version=[2],Kind=[Revised],ARef=[AI95-00387-01]}
688 @Chg{Version=[2],New=[Aspect],Old=[Representation]} clauses can be
689 used to specify the mapping
690 between types and features of an underlying machine. For
691 example, the user can specify that objects of a given type
692 must be represented with a given number of bits, or that the
693 components of a record are to be represented using a given
694 storage layout. Other features allow the controlled use of
695 low level, nonportable, or implementation-dependent aspects,
696 including the direct insertion of machine code.
697
698 @ChgRef{Version=[2],Kind=[Revised],ARef=[AI95-00387-01]}
699 The predefined environment of the language provides
700 for input-output and other capabilities @Chg{Version=[2],New=[],Old=[(such
701 as string manipulation and random number generation) ]}by means of
702 standard library packages.
703 Input-output is supported for
704 values of user-defined as well as of predefined types.
705 Standard means of representing values in display form are
706 also provided.@Chg{Version=[2],New=[],Old=[ Other standard library packages are defined
707 in annexes of the standard to support systems with
708 specialized requirements.]}
709
710 @ChgRef{Version=[2],Kind=[Added],ARef=[AI95-00387-01]}
711 @Chg{Version=[2],New=[The predefined standard library packages provide
712 facilities such as string manipulation, containers of various kinds (vectors,
713 lists, maps, etc.), mathematical functions, random number generation, and access
714 to the execution environment.],Old=[]}
715
716 @ChgRef{Version=[2],Kind=[Added],ARef=[AI95-00387-01]}
717 @Chg{Version=[2],New=[The specialized annexes define further predefined library
718 packages and facilities with emphasis on areas such as real-time
719 scheduling, interrupt handling, distributed systems, numerical computation, and
720 high-integrity systems.],Old=[]}
721
722 Finally, the language provides a powerful means of
723 parameterization of program units, called generic program
724 units. The generic parameters can be types and subprograms
725 (as well as objects and packages) and so allow general
726 algorithms and data structures to be defined that are
727 applicable to all types of a given class.
728 @end{Intro}
729
730 @SubHeading{Language Changes}
731
732 @begin{Intro}
733
734 @begin{NotIso}
735 @ChgAdded{Version=[2],Noprefix=[T],Noparanum=[T],Text=[@Shrink{@i<Paragraphs 44
736 through 57 have been removed as they described differences from the first edition
737 of Ada (Ada 83).>}]}@Comment{This message should be
738 deleted if the paragraphs are ever renumbered.}
739 @end{NotIso}
740
741 @ChgRef{Version=[2],Kind=[Revised],ARef=[AI95-00387-01]}
742 @ChgRef{Version=[3],Kind=[DeletedNoDelMsg]}
743 @ChgDeleted{Version=[3],Type=[Leading],Text=[This @Chg{Version=[2],New=[amended ],Old=[]}International Standard
744 @Chg{Version=[2],New=[updates the edition of 1995 which replaced],
745 Old=[replaces]} the first edition of 1987.
746 In @Chg{Version=[2],New=[the 1995],Old=[this]} edition, the following major
747 language changes @Chg{Version=[2],New=[were],Old=[have been]} incorporated:]}
748 @begin{Itemize}
749 @ChgRef{Version=[2],Kind=[Revised],ARef=[AI95-00387-01]}
750 @ChgRef{Version=[3],Kind=[DeletedNoDelMsg]}
751 @ChgDeleted{Version=[3],Text=[Support for standard 8-bit and 16-bit
752 character@Chg{Version=[2],New=[s was added],Old=[ sets]}.
753 See @Chg{Version=[2],New=[clauses @RefSecNum{Character Set}],Old=[Section 2]},
754 @RefSecNum{Character Types},
755 @RefSecNum{String Types},
756 @RefSecNum{The Package Standard},
757 @RefSecNum{Character Handling}, and
758 @RefSecNum{String Handling}.]}
759
760 @ChgRef{Version=[2],Kind=[Revised],ARef=[AI95-00387-01]}
761 @ChgRef{Version=[3],Kind=[DeletedNoDelMsg]}
762 @ChgDeleted{Version=[3],Text=[@Chg{Version=[2],New=[The type model was extended to include facilities
763 for o],Old=[O]}bject-oriented programming
764 with @Chg{Version=[2],New=[dynamic],Old=[run-time]} polymorphism.
765 See the discussions of classes, derived types, tagged types,
766 record extensions, and private extensions
767 in clauses @RefSecNum{Derived Types and Classes},
768 @RefSecNum{Tagged Types and Type Extensions}, and
769 @RefSecNum{Private Types and Private Extensions}.
770 @Chg{Version=[2],New=[Additional],Old=[See also the new]} forms of generic
771 formal parameters @Chg{Version=[2],New=[were],Old=[that are]} allowed
772 @Chg{Version=[2],New=[as described in clauses
773 @RefSecNum{Formal Private and Derived Types} and @RefSecNum{Formal Packages}],
774 Old=[by @RefSec{Formal Private and Derived Types} and @RefSec{Formal Packages}]}.]}
775
776 @ChgRef{Version=[2],Kind=[Revised],ARef=[AI95-00387-01]}
777 @ChgRef{Version=[3],Kind=[DeletedNoDelMsg]}
778 @ChgDeleted{Version=[3],Text=[Access types @Chg{Version=[2],New=[were],Old=[have been]} extended to allow
779 an access value to designate a subprogram or an object declared by an
780 object declaration @Chg{Version=[2],New=[],Old=[(]}as opposed to just
781 @Chg{Version=[2],New=[an object ],Old=[a heap-]}allocated
782 @Chg{Version=[2],New=[on a heap],Old=[object)]}.
783 See @Chg{Version=[2],New=[clause ],Old=[]}@RefSecNum{Access Types}.]}
784
785 @ChgRef{Version=[2],Kind=[Revised],ARef=[AI95-00387-01]}
786 @ChgRef{Version=[3],Kind=[DeletedNoDelMsg]}
787 @ChgDeleted{Version=[3],Text=[Efficient data-oriented synchronization @Chg{Version=[2],New=[was],
788 Old=[is]} provided @Chg{Version=[2],New=[by the introduction of],
789 Old=[via]} protected types. See @Chg{Version=[2],
790 New=[clause @RefSecNum{Protected Units and Protected Objects}],Old=[Section 9]}.]}
791
792 @ChgRef{Version=[2],Kind=[Revised],ARef=[AI95-00387-01]}
793 @ChgRef{Version=[3],Kind=[DeletedNoDelMsg]}
794 @ChgDeleted{Version=[3],Text=[The library @Chg{Version=[2],New=[structure was extended to allow
795 library units to],Old=[units of a library may]} be organized into a
796 hierarchy of parent and child units.
797 See @Chg{Version=[2], New=[clause @RefSecNum{Separate Compilation}],
798 Old=[Section 10]}.]}
799
800 @ChgRef{Version=[2],Kind=[Revised],ARef=[AI95-00387-01]}
801 @ChgRef{Version=[3],Kind=[DeletedNoDelMsg]}
802 @ChgDeleted{Version=[3],Text=[Additional support
803 @Chg{Version=[2],New=[was],Old=[has been]} added for interfacing to other
804 languages. See @RefSecNum{Interface to Other Languages}.]}
805
806 @ChgRef{Version=[2],Kind=[Revised],ARef=[AI95-00387-01]}
807 @ChgRef{Version=[3],Kind=[DeletedNoDelMsg]}
808 @ChgDeleted{Version=[3],Type=[Leading],Text=[The Specialized Needs Annexes
809 @Chg{Version=[2],New=[were],Old=[have been]} added
810 to provide specific support for certain application areas:]}
811 @begin{InnerItemize}
812 @ChgRef{Version=[3],Kind=[DeletedNoDelMsg]}
813 @ChgDeleted{Version=[3],Text=[@RefSec{Systems Programming}]}
814
815 @ChgRef{Version=[3],Kind=[DeletedNoDelMsg]}
816 @ChgDeleted{Version=[3],Text=[@RefSec{Real-Time Systems}]}
817
818 @ChgRef{Version=[3],Kind=[DeletedNoDelMsg]}
819 @ChgDeleted{Version=[3],Text=[@RefSec{Distributed Systems}]}
820
821 @ChgRef{Version=[3],Kind=[DeletedNoDelMsg]}
822 @ChgDeleted{Version=[3],Text=[@RefSec{Information Systems}]}
823
824 @ChgRef{Version=[3],Kind=[DeletedNoDelMsg]}
825 @ChgDeleted{Version=[3],Text=[@RefSec{Numerics}]}
826
827 @ChgRef{Version=[3],Kind=[DeletedNoDelMsg]}
828 @ChgDeleted{Version=[3],Text=[@RefSec{High Integrity Systems}]}
829 @end{InnerItemize}
830 @end{Itemize}
831
832 @ChgRef{Version=[2],Kind=[Added],ARef=[AI95-00387-01]}
833 @ChgRef{Version=[3],Kind=[RevisedAdded]}
834 @ChgAdded{Version=[2],Text=[@Chg{Version=[3],New=[This International Standard
835 replaces the second edition of 1995. It],Old=[Amendment 1]} modifies the
836 @Chg{Version=[3],New=[previous edition],Old=[1995 International Standard]} by
837 making changes and additions that improve the capability of the language and
838 the reliability of programs written in the language.@Chg{Version=[3],New=[ This
839 edition incorporates the changes from Amendment 1 (ISO/IEC 8652:1995:AMD 1:2007),
840 which],Old=[In particular the changes]}
841 were designed to improve the portability of programs, interfacing to other
842 languages, and both the object-oriented and real-time capabilities.]}
843
844 @ChgRef{Version=[2],Kind=[Added],ARef=[AI95-00387-01]}
845 @ChgRef{Version=[3],Kind=[RevisedAdded],ARef=[AI05-0299-1]}
846 @ChgAdded{Version=[2],Type=[Leading],Text=[@Chg{Version=[3],New=[Significant],
847 Old=[The following significant]} changes@Chg{Version=[3],New=[ originating
848 in Amendment 1],Old=[with respect to the 1995 edition]} are incorporated:]}
849
850 @begin{Itemize}
851 @ChgRef{Version=[2],Kind=[Added]}
852 @ChgRef{Version=[3],Kind=[RevisedAdded]}
853 @Chg{Version=[2],New=[Support for program text is extended to cover the
854 entire ISO/IEC 10646:2003 repertoire. Execution support now includes the
855 32-bit character set. See @Chg{Version=[3],New=[subclauses],Old=[clauses]}
856 @RefSecNum{Character Set},
857 @RefSecNum{Character Types},
858 @RefSecNum{String Types},
859 @RefSecNum{The Package Standard},
860 @RefSecNum{Character Handling}, and
861 @RefSecNum{String Handling}.],Old=[]}
862
863 @ChgRef{Version=[2],Kind=[Added]}
864 @ChgRef{Version=[3],Kind=[RevisedAdded]}
865 @Chg{Version=[2],New=[
866 The object-oriented model has been improved by the addition of an
867 interface facility which provides multiple inheritance and additional
868 flexibility for type extensions. See @Chg{Version=[3],New=[subclauses],Old=[clauses]} @RefSecNum{Derived Types and Classes},
869 @RefSecNum{Tagged Types and Type Extensions}, and
870 @RefSecNum{Private Types and Private Extensions}. An
871 alternative notation for calling operations more akin to that used in
872 other languages has also been added. See @Chg{Version=[3],New=[subclause],Old=[clause]} @RefSecNum{Selected Components}.],Old=[]}
873
874 @ChgRef{Version=[2],Kind=[Added]}
875 @ChgRef{Version=[3],Kind=[RevisedAdded]}
876 @Chg{Version=[2],New=[
877 Access types have been further extended to unify properties such as
878 the ability to access constants and to exclude null values. See clause
879 @RefSecNum{Access Types}. Anonymous access types are now permitted more
880 freely and anonymous access-to-subprogram types are introduced. See
881 @Chg{Version=[3],New=[subclauses],Old=[clauses]}
882 @RefSecNum{Objects and Named Numbers}, @RefSecNum{Array Types},
883 @RefSecNum{Access Types}, and @RefSecNum{Object Renaming Declarations}.],Old=[]}
884
885 @ChgRef{Version=[2],Kind=[Added]}
886 @ChgRef{Version=[3],Kind=[RevisedAdded]}
887 @Chg{Version=[2],New=[
888 The control of structure and visibility has been enhanced to
889 permit mutually dependent references between units and finer control
890 over access from the private part of a package. See @Chg{Version=[3],New=[subclauses],Old=[clauses]}
891 @RefSecNum{Incomplete Type Declarations} and @RefSecNum{Context Clauses - With Clauses}.
892 In addition, limited types have been made more useful by the
893 provision of aggregates, constants, and constructor functions. See
894 @Chg{Version=[3],New=[subclauses],Old=[clauses]}
895 @RefSecNum{Aggregates}, @RefSecNum{Return Statements},
896 and @RefSecNum{Limited Types}.],Old=[]}
897
898 @ChgRef{Version=[2],Kind=[Added]}
899 @ChgRef{Version=[3],Kind=[RevisedAdded]}
900 @Chg{Version=[2],New=[
901 The predefined environment has been extended to include additional time
902 and calendar operations,
903 improved string handling, a comprehensive container library, file and
904 directory management, and access to environment variables. See
905 @Chg{Version=[3],New=[subclauses],Old=[clauses]}
906 @RefSecNum{Formatting, Time Zones, and other operations for Time},
907 @RefSecNum{String Handling},
908 @RefSecNum{The Package Directories},
909 @RefSecNum{The Package Environment_Variables},
910 and @RefSecNum{Containers}.],Old=[]}
911
912 @ChgRef{Version=[2],Kind=[Added]}
913 @ChgRef{Version=[3],Kind=[RevisedAdded]}
914 @Chg{Version=[2],New=[
915 Two of the Specialized Needs Annexes have been considerably enhanced:],Old=[]}
916 @begin{InnerItemize}
917 @ChgRef{Version=[2],Kind=[Added]}
918 @Chg{Version=[2],New=[
919 The Real-Time Systems Annex now includes the Ravenscar profile for
920 high-integrity systems, further dispatching policies such as Round Robin
921 and Earliest Deadline First, support for timing events, and support for
922 control of CPU time utilization. See
923 @Chg{Version=[3],New=[subclauses],Old=[clauses]} @RefSecNum{Priority Scheduling},
924 @RefSecNum{The Ravenscar Profile},
925 @RefSecNum{Execution Time}, and
926 @RefSecNum{Timing Events}.],Old=[]}
927
928 @ChgRef{Version=[2],Kind=[Added]}
929 @ChgRef{Version=[3],Kind=[RevisedAdded]}
930 @Chg{Version=[2],New=[
931 The Numerics Annex now includes support for real and complex vectors
932 and matrices as previously defined in ISO/IEC 13813:1997 plus further basic
933 operations for linear algebra.
934 See @Chg{Version=[3],New=[subclause],Old=[clause]} @RefSecNum{Vector and Matrix Manipulation}.],Old=[]}
935 @end{InnerItemize}
936
937 @ChgRef{Version=[2],Kind=[Added]}
938 @ChgRef{Version=[3],Kind=[RevisedAdded]}
939 @Chg{Version=[2],New=[
940 The overall reliability of the language has been enhanced by
941 a number of improvements. These include new syntax which detects
942 accidental overloading, as well as pragmas for making assertions and
943 giving better control over the suppression of checks. See @Chg{Version=[3],New=[subclauses],Old=[clauses]}
944 @RefSecNum{Subprogram Declarations},
945 @RefSecNum{Pragmas Assert and Assertion_Policy}, and
946 @RefSecNum{Suppressing Checks}.],Old=[]}
947
948 @end{Itemize}
949
950 @ChgRef{Version=[3],Kind=[Added],ARef=[AI05-0245-1]}
951 @ChgAdded{Version=[3],Text=[In addition, this third edition makes
952 enhancements to address two important issues, namely, the particular problems of
953 multiprocessor architectures, and the need to further increase the capabilities
954 regarding assertions for correctness. It also makes additional changes and
955 additions that improve the capability of the language and the reliability of
956 programs written in the language.]}
957
958 @ChgNote{The original "Amendment 2" version of this text follows:
959 Amendment 2 modifies the 1995 International Standard
960 by making changes and additions that improve the capability of the language and
961 the reliability of programs written in the language. In particular, enhancements
962 are made to address two important issues, namely, the particular problems of
963 multiprocessor architectures, and the need to further increase the capabilities
964 regarding assertions for correctness.}
965
966 @ChgRef{Version=[3],Kind=[Added],ARef=[AI05-0245-1],ARef=[AI05-0299-1]}
967 @ChgAdded{Version=[3],Type=[Leading],Text=[The following significant changes
968 with respect to the 1995 edition as amended by Amendment 1 are incorporated:]}
969
970 @begin{Itemize}
971 @ChgRef{Version=[3],Kind=[Added]}
972 @ChgAdded{Version=[3],Text=[New syntax (the aspect specification) is introduced
973 to enable properties to be specified for various entities in a more structured
974 manner than through pragmas. See subclause @RefSecNum{Aspect Specifications}.]}
975
976 @ChgRef{Version=[3],Kind=[Added]}
977 @ChgRef{Version=[4],Kind=[RevisedAdded],ARef=[AI12-0141-1]}
978 @ChgAdded{Version=[3],Text=[The concept of assertions introduced in the 2005
979 edition is extended with the ability to specify preconditions and postconditions
980 for subprograms, and invariants for private types@Chg{Version=[4],New=[ and
981 interfaces],Old=[]}. The concept of constraints in
982 defining subtypes is supplemented with subtype predicates that enable subsets
983 to be specified other than as simple ranges. These properties are all indicated
984 using aspect specifications. See subclauses @RefSecNum{Subtype Predicates},
985 @RefSecNum{Preconditions and Postconditions}, and @RefSecNum{Type Invariants}.]}
986
987 @ChgRef{Version=[3],Kind=[Added]}
988 @ChgRef{Version=[4],Kind=[RevisedAdded],ARef=[AI12-0141-1]}
989 @ChgAdded{Version=[3],Text=[New forms of expressions are introduced. These are
990 if expressions, case expressions, quantified expressions,
991 @Chg{Version=[4],New=[],Old=[and ]}expression
992 functions@Chg{Version=[4],New=[, and raise expressions],Old=[]}. As well as
993 being useful for programming in general by avoiding the
994 introduction of unnecessary assignments, they are especially valuable in
995 conditions and invariants since they avoid the need to introduce auxiliary
996 functions. See subclauses @RefSecNum{Conditional Expressions},
997 @RefSecNum{Quantified Expressions},
998 @Chg{Version=[4],New=[],Old=[and ]}@RefSecNum{Expression Functions}@Chg{Version=[4],New=[,
999 and @RefSecNum{Raise Statements and Raise Expressions}],Old=[]}.
1000 Membership tests are also made more flexible. See subclauses
1001 @RefSecNum{Expressions} and @RefSecNum{Relational Operators and Membership Tests}.]}
1002
1003 @ChgRef{Version=[3],Kind=[Added]}
1004 @ChgAdded{Version=[3],Text=[A number of changes are made to subprogram parameters.
1005 Functions may now have parameters of all modes. In order to mitigate consequent
1006 (and indeed existing) problems of inadvertent order dependence, rules are
1007 introduced to reduce aliasing. A parameter may now be explicitly marked as
1008 aliased and the type of a parameter may be incomplete in
1009 certain circumstances. See subclauses @RefSecNum{Incomplete Type Declarations},
1010 @RefSecNum{Subprogram Declarations}, and @RefSecNum{Parameter Associations}.]}
1011
1012 @ChgRef{Version=[3],Kind=[Added]}
1013 @ChgAdded{Version=[3],Text=[The use of access types is now more flexible. The
1014 rules for accessibility and certain conversions are improved. See subclauses
1015 @RefSecNum{Operations of Access Types}, @RefSecNum{Relational Operators and Membership Tests},
1016 @RefSecNum{Type Conversions}, and @RefSecNum{The Context of Overload Resolution}.
1017 Furthermore, better control of storage pools is
1018 provided. See subclause @RefSecNum{Storage Subpools}.]}
1019
1020 @ChgRef{Version=[3],Kind=[Added]}
1021 @ChgAdded{Version=[3],Text=[The Real-Time Systems Annex now includes facilities
1022 for defining domains of processors and assigning tasks to them. Improvements are
1023 made to scheduling and budgeting facilities. See subclauses @RefSecNum{Synchronous Barriers},
1024 @RefSecNum{Execution Time}, and @RefSecNum{Multiprocessor Implementation}.]}
1025
1026 @ChgRef{Version=[3],Kind=[Added]}
1027 @ChgAdded{Version=[3],Text=[A number of important improvements are made to the
1028 standard library. These include packages for conversions between strings and UTF
1029 encodings, and classification functions for wide and wide wide characters.
1030 Internationalization is catered for by a package giving locale information. See
1031 subclauses @RefSecNum{Character Handling}, @RefSecNum{String Encoding}, and
1032 @RefSecNum{The Package Locales}. The container library is extended to include
1033 bounded forms of the existing containers and new containers for indefinite
1034 objects, multiway trees, and queues. See subclause @RefSecNum{Containers}.]}
1035
1036 @ChgRef{Version=[3],Kind=[Added]}
1037 @ChgAdded{Version=[3],Text=[Finally, certain features are added primarily to
1038 ease the use of containers, such as the ability to iterate over all elements in a
1039 container without having to encode the iteration. These can also be used for
1040 iteration over arrays, and within quantified expressions. See
1041 subclauses @RefSecNum{User-Defined References},
1042 @RefSecNum{User-Defined Indexing}, @RefSecNum{User-Defined Iterator Types},
1043 and @RefSecNum{Generalized Loop Iteration}.]}
1044 @end{Itemize}
1045 @end{Intro}
1046
1047 @NewPage
1048 @SubHeading(Instructions for Comment Submission)
1049
1050 @begin{Intro}
1051
1052
1053 @ChgRef{Version=[1],Kind=[Revised]}
1054 @Defn{instructions for comment submission}
1055 @Defn{comments, instructions for submission}
1056 Informal comments on this International Standard may be sent via
1057 e-mail to @Chg{New=[@b(ada-comment@@ada-auth.org)],
1058 Old=[@b(ada-comment@@sw-eng.falls-church.va.us)]}.
1059 If appropriate, the Project Editor will initiate
1060 the defect correction procedure.
1061
1062
1063 Comments should use the following format:
1064 @begin(display)
1065 @ChgRef{Version=[2],Kind=[Revised]}
1066 @ChgRef{Version=[3],Kind=[Revised]}
1067 @ChgRef{Version=[5],Kind=[Revised]}
1068 @TabSet(L6)@\@b(!topic) @i[Title summarizing comment]
1069 @\@b(!reference) @Chg{Version=[2],New=[Ada @Chg{Version=[3],New=[@Chg{Version=[5],New=[202x],Old=[2012]}],Old=[2005]} RM],Old=[RM95-]}@i{ss.ss(pp)}
1070 @\@b(!from) @i{Author Name yy-mm-dd}
1071 @\@b(!keywords) @i{keywords related to topic}
1072 @\@b(!discussion)
1073 @comment{Blank line}
1074 @\@i{text of discussion}
1075 @end(display)
1076
1077 @ChgRef{Version=[3],Kind=[Revised]}
1078 where @i(ss.ss) is the @Chg{Version=[3],New=[],Old=[section, ]}clause or
1079 subclause number, @i(pp) is the paragraph number where applicable,
1080 and @i(yy-mm-dd) is the date the comment was sent.
1081 The date is optional, as is the @b(!keywords) line.
1082
1083 @ChgRef{Version=[1],Kind=[Revised]}
1084 @Chg{New=[], Old=[Multiple comments per e-mail message are acceptable.]}
1085 Please use a descriptive @lquotes@;Subject@rquotes@; in your e-mail
1086 message@Chg{New=[, and limit each message to a single comment.], Old=[.]}
1087
1088 When correcting typographical errors or making minor wording
1089 suggestions, please put the correction directly as the topic of the
1090 comment; use square brackets [ ] to indicate text to be omitted and
1091 curly braces { } to indicate text to be added, and provide enough
1092 context to make the nature of the suggestion self-evident or put
1093 additional information in the body of the comment, for example:
1094 @begin{Display}
1095 @TabSet(L6)@\@b(!topic) [c]{C}haracter
1096 @\@b(!topic) it[']s meaning is not defined
1097 @end{Display}
1098
1099
1100 Formal requests for interpretations and for reporting defects in this
1101 International Standard may be made in accordance with the ISO/IEC
1102 JTC 1 Directives and the ISO/IEC JTC 1/SC 22 policy for interpretations.
1103 National Bodies may submit a Defect Report to ISO/IEC JTC 1/SC 22 for resolution
1104 under the JTC 1 procedures.
1105 A response will be provided and, if appropriate,
1106 a Technical Corrigendum will be issued in accordance with the procedures.
1107
1108
1109 @end{Intro}
1110
1111 @begin{NotISO}
1112 @NewPage
1113 @AddedSubHeading{Version=[3],Acknowledgements for the Ada 83 edition}
1114
1115 @ChgRef{Version=[3],Kind=[Added]}
1116 @ChgAdded{Version=[3],Text=[Ada is the result of a collective effort to design a
1117 common language for programming large scale and real-time systems.]}
1118
1119 @ChgRef{Version=[3],Kind=[Added]}
1120 @ChgAdded{Version=[3],Text=[The common high order language program began in
1121 1974. The requirements of the United States Department of Defense were
1122 formalized in a series of documents which were extensively reviewed by the
1123 Services, industrial organizations, universities, and foreign military
1124 departments. The Ada language was designed in accordance with the final (1978)
1125 form of these requirements, embodied in the Steelman specification.]}
1126
1127 @ChgRef{Version=[3],Kind=[Added]}
1128 @ChgAdded{Version=[3],Text=[The Ada design team was led by Jean D. Ichbiah and
1129 has included Bernd Krieg-Brueckner, Brian A. Wichmann, Henry F. Ledgard,
1130 Jean-Claude Heliard, Jean-Loup Gailly, Jean-Raymond Abrial, John G.P. Barnes,
1131 Mike Woodger, Olivier Roubine, Paul N. Hilfinger, and Robert Firth.]}
1132
1133 @ChgRef{Version=[3],Kind=[Added]}
1134 @ChgAdded{Version=[3],Text=[At various stages of the project, several people
1135 closely associated with the design team made major contributions. They include
1136 J.B. Goodenough, R.F. Brender, M.W. Davis, G. Ferran, K. Lester, L. MacLaren, E.
1137 Morel, I.R. Nassi, I.C. Pyle, S.A. Schuman, and S.C. Vestal.]}
1138
1139 @ChgRef{Version=[3],Kind=[Added]}
1140 @ChgAdded{Version=[3],Text=[Two parallel efforts that were started in the second
1141 phase of this design had a deep influence on the language. One was the
1142 development of a formal definition using denotational semantics, with the
1143 participation of V. Donzeau-Gouge, G. Kahn, and B. Lang. The other was the
1144 design of a test translator with the participation of K. Ripken, P. Boullier, P.
1145 Cadiou, J. Holden, J.F. Hueras, R.G. Lange, and D.T. Cornhill. The entire effort
1146 benefitted from the dedicated assistance of Lyn Churchill and Marion Myers, and
1147 the effective technical support of B. Gravem, W.L. Heimerdinger, and P. Cleve.
1148 H.G. Schmitz served as program manager.]}
1149
1150 @ChgRef{Version=[3],Kind=[Added]}
1151 @ChgAdded{Version=[3],Text=[Over the five years spent on this project, several
1152 intense week-long design reviews were conducted, with the participation of P.
1153 Belmont, B. Brosgol, P. Cohen, R. Dewar, A. Evans, G. Fisher, H. Harte, A.L.
1154 Hisgen, P. Knueven, M. Kronental, N. Lomuto, E. Ploedereder, G. Seegmueller, V.
1155 Stenning, D. Taffs, and also F. Belz, R. Converse, K. Correll, A.N. Habermann,
1156 J. Sammet, S. Squires, J. Teller, P. Wegner, and P.R. Wetherall.]}
1157
1158 @ChgRef{Version=[3],Kind=[Added]}
1159 @ChgAdded{Version=[3],Text=[Several persons had a constructive influence with
1160 their comments, criticisms and suggestions. They include P. Brinch Hansen, G.
1161 Goos, C.A.R. Hoare, Mark Rain, W.A. Wulf, and also E. Boebert, P. Bonnard, H.
1162 Clausen, M. Cox, G. Dismukes, R. Eachus, T. Froggatt, H. Ganzinger, C. Hewitt,
1163 S. Kamin, R. Kotler, O. Lecarme, J.A.N. Lee, J.L. Mansion, F. Minel, T. Phinney,
1164 J. Roehrich, V. Schneider, A. Singer, D. Slosberg, I.C. Wand, the reviewers of
1165 Ada-Europe, AdaTech, Afcet, those of the LMSC review team, and those of the Ada
1166 Tokyo Study Group.]}
1167
1168 @ChgRef{Version=[3],Kind=[Added]}
1169 @ChgAdded{Version=[3],Text=[These reviews and comments, the numerous evaluation
1170 reports received at the end of the first and second phase, the nine hundred
1171 language issue reports and test and evaluation reports received from fifteen
1172 different countries during the third phase of the project, the thousands of
1173 comments received during the ANSI Canvass, and the on-going work of the IFIP
1174 Working Group 2.4 on system implementation languages and that of the Purdue
1175 Europe LTPL-E committee, all had a substantial influence on the final definition
1176 of Ada.]}
1177
1178 @ChgRef{Version=[3],Kind=[Added]}
1179 @ChgAdded{Version=[3],Text=[The Military Departments and Agencies have provided
1180 a broad base of support including funding, extensive reviews, and countless
1181 individual contributions by the members of the High Order Language Working Group
1182 and other interested personnel. In particular, William A. Whitaker provided
1183 leadership for the program during the formative stages. David A. Fisher was
1184 responsible for the successful development and refinement of the language
1185 requirement documents that led to the Steelman specification.]}
1186
1187 @ChgRef{Version=[3],Kind=[Added]}
1188 @ChgAdded{Version=[3],Text=[The Ada 83 language definition was developed by Cii
1189 Honeywell Bull and later Alsys, and by Honeywell Systems and Research Center,
1190 under contract to the United States Department of Defense. William E. Carlson
1191 and later Larry E. Druffel served as the technical representatives of the United
1192 States Government and effectively coordinated the efforts of all participants in
1193 the Ada program.]}
1194
1195
1196 @SubHeading(Acknowledgements@Chg{Version=[2],New=[ for the Ada 95 edition],Old=[]})
1197
1198 @begin{Intro}
1199
1200 This International Standard was prepared by the Ada 9X Mapping/Revision
1201 Team based at Intermetrics, Inc., which has included:
1202 W. Carlson, Program Manager;
1203 T. Taft, Technical Director;
1204 J. Barnes (consultant);
1205 B. Brosgol (consultant);
1206 R. Duff (Oak Tree Software);
1207 M. Edwards;
1208 C. Garrity;
1209 R. Hilliard;
1210 O. Pazy (consultant);
1211 D. Rosenfeld;
1212 L. Shafer;
1213 W. White;
1214 M. Woodger.
1215
1216 The following consultants to the Ada 9X Project
1217 contributed to the Specialized Needs Annexes:
1218 T. Baker (Real-Time/Systems Programming @em SEI, FSU);
1219 K. Dritz (Numerics @em Argonne National Laboratory);
1220 A. Gargaro (Distributed Systems @em Computer Sciences);
1221 J. Goodenough (Real-Time/Systems Programming @em SEI);
1222 J. McHugh (Secure Systems @em consultant);
1223 B. Wichmann (Safety-Critical Systems @em NPL: UK).
1224
1225 This work was regularly reviewed by
1226 the Ada 9X Distinguished Reviewers
1227 and the members of the Ada 9X Rapporteur Group (XRG):
1228 E. Ploedereder, Chairman of DRs and XRG (University of Stuttgart: Germany);
1229 B. Bardin (Hughes);
1230 J. Barnes (consultant: UK); @Comment{XRG - UK}
1231 B. Brett (DEC);
1232 B. Brosgol (consultant);
1233 R. Brukardt (RR Software);
1234 N. Cohen (IBM);
1235 R. Dewar (NYU);
1236 G. Dismukes (TeleSoft);
1237 A. Evans (consultant);
1238 A. Gargaro (Computer Sciences);
1239 M. Gerhardt (ESL);
1240 J. Goodenough (SEI); @Comment{Also XRG - U.S.}
1241 S. Heilbrunner (University of Salzburg: Austria); @Comment{Also XRG - Belgium}
1242 P. Hilfinger (UC/Berkeley); @Comment{No longer a DR.}
1243 B. K@latin1(228)llberg (CelsiusTech: Sweden); @Comment{XRG - Sweden}
1244 M. Kamrad II (Unisys);
1245 J. van Katwijk (Delft University of Technology: The Netherlands); @Comment{XRG - The Netherlands}
1246 V. Kaufman (Russia); @Comment{XRG - Russia}
1247 P. Kruchten (Rational); @Comment{Also XRG - France}
1248 R. Landwehr (CCI: Germany); @Comment{Also XRG - Germany}
1249 C. Lester (Portsmouth Polytechnic: UK);
1250 L. M@latin1(229)nsson (TELIA Research: Sweden); @Comment{No longer a DR.}
1251 S. Michell (Multiprocessor Toolsmiths: Canada); @Comment{Also XRG - Canada}
1252 M. Mills (US Air Force);
1253 D. Pogge (US Navy);
1254 K. Power (Boeing);
1255 O. Roubine (Verdix: France);
1256 A. Strohmeier (Swiss Fed Inst of Technology: Switzerland); @Comment{XRG - Switzerland}
1257 W. Taylor (consultant: UK);
1258 J. Tokar (Tartan);
1259 E. Vasilescu (Grumman);
1260 J. Vladik (Prospeks s.r.o.:
1261 Czech Republic); @Comment{XRG - Czech Republic}
1262 S. Van Vlierberghe (OFFIS: Belgium). @Comment{XRG - Belgium}
1263
1264
1265 Other valuable feedback influencing the revision
1266 process was provided by
1267 the Ada 9X Language Precision
1268 Team (Odyssey Research Associates), the Ada 9X User/Implementer
1269 Teams (AETECH, Tartan, TeleSoft), the Ada 9X Implementation
1270 Analysis Team (New York University) and the Ada community-at-large.
1271
1272
1273 Special thanks go to R. Mathis,
1274 Convenor of ISO/IEC JTC 1/SC 22 Working Group 9.
1275 @Comment{Also XRG - U.S.}
1276
1277
1278 The Ada 9X Project was sponsored by the Ada Joint Program Office.
1279 Christine M. Anderson at the Air Force Phillips Laboratory (Kirtland
1280 AFB, NM) was the project manager.
1281
1282 @AddedSubHeading{Version=[1],Acknowledgements for the Corrigendum version}
1283
1284 @ChgRef{Version=[1],Kind=[Added]}
1285 @ChgRef{Version=[3],Kind=[RevisedAdded]}
1286 @Chg{New=<The editor [R. Brukardt (USA)] would like to thank the many people
1287 whose hard work and assistance has made this
1288 @Chg{Version=[3],New=[update],Old=[revision]} possible.>,Old=[]}
1289
1290 @ChgRef{Version=[1],Kind=[Added]}
1291 @Chg{New=[Thanks go out to all of the members of the ISO/IEC JTC 1/SC 22/WG 9
1292 Ada Rapporteur Group, whose work on creating and editing the wording
1293 corrections was critical to the entire process. Especially valuable
1294 contributions came from the chairman of the ARG, E. Ploedereder (Germany), who
1295 kept the process moving; J. Barnes (UK) and K. Ishihata (Japan), whose
1296 extremely detailed reviews kept the editor on his toes; G. Dismukes (USA),
1297 M. Kamrad (USA), P. Leroy (France), S. Michell (Canada), T. Taft (USA),
1298 J. Tokar (USA), and other members too numerous to mention.],Old=[]}
1299
1300 @ChgRef{Version=[1],Kind=[Added]}
1301 @Chg{New=[Special thanks go to R. Duff (USA) for his explanations of the
1302 previous system of formatting of these documents during the tedious conversion
1303 to more modern formats. Special thanks also go to the convenor of
1304 ISO/IEC JTC 1/SC 22/WG 9, J. Moore (USA), without whose help and support
1305 the Corrigendum and this consolidated reference manual would not have been possible.],Old=[]}
1306
1307 @AddedSubHeading{Version=[2],Acknowledgements for the Amendment 1 version}
1308
1309 @ChgRef{Version=[2],Kind=[Added]}
1310 @ChgRef{Version=[3],Kind=[RevisedAdded]}
1311 @Chg{Version=[2],New=<The editor [R. Brukardt (USA)] would like to thank the many
1312 people whose hard work and assistance has made this
1313 @Chg{Version=[3],New=[update],Old=[revision]} possible.>,Old=[]}
1314
1315 @ChgRef{Version=[2],Kind=[Added]}
1316 @ChgAdded{Version=[2],Text=[Thanks go out to all of the members of the
1317 ISO/IEC JTC 1/SC 22/WG 9
1318 Ada Rapporteur Group, whose work on creating and editing the wording
1319 corrections was critical to the entire process. Especially valuable
1320 contributions came from the chairman of the ARG, P. Leroy (France), who kept
1321 the process on schedule; J. Barnes (UK) whose careful reviews found many
1322 typographical errors; T. Taft (USA), who always seemed to have a suggestion
1323 when we were stuck, and who also was usually able to provide the valuable
1324 service of explaining why things were as they are; S. Baird (USA), who found
1325 many obscure problems with the proposals; and A. Burns (UK), who pushed many of
1326 the real-time proposals to completion. Other ARG members who contributed were:
1327 R. Dewar (USA), G. Dismukes (USA), R. Duff (USA), K. Ishihata (Japan), S.
1328 Michell (Canada), E. Ploedereder (Germany), J.P. Rosen (France), E. Schonberg
1329 (USA), J. Tokar (USA), and T. Vardanega (Italy).]}
1330
1331 @ChgRef{Version=[2],Kind=[Added]}
1332 @Chg{Version=[2],New=[Special thanks go to Ada-Europe and the Ada Resource
1333 Association, without whose help and support the Amendment and this consolidated
1334 reference manual would not have been possible. M. Heaney (USA) requires special
1335 thanks for his tireless work on the containers packages. Finally, special
1336 thanks go to the convenor of ISO/IEC JTC 1/SC 22/WG 9, J. Moore (USA), who
1337 guided the document through the standardization process.],Old=[]}
1338
1339 @end{Intro}
1340
1341 @AddedSubHeading{Version=[3],Acknowledgements for the Ada 2012 edition}
1342
1343 @ChgRef{Version=[3],Kind=[Added]}
1344 @ChgAdded{Version=[3],Text=<The editor [R. Brukardt (USA)] would like to thank the many
1345 people whose hard work and assistance has made this revision possible.>}
1346
1347 @ChgRef{Version=[3],Kind=[Added]}
1348 @ChgAdded{Version=[3],Text=[Thanks go out to all of the members of the
1349 ISO/IEC JTC 1/SC 22/WG 9
1350 Ada Rapporteur Group, whose work on creating and editing the wording
1351 changes was critical to the entire process. Especially valuable
1352 contributions came from the chairman of the ARG, E. Schonberg (USA), who
1353 guided the work; T. Taft (USA), whose insights broke many logjams, both in
1354 design and wording; J. Barnes (UK) whose careful reviews uncovered many
1355 editorial errors; S. Baird (USA), who
1356 repeatedly found obscure interactions with the proposals that the rest of
1357 us missed. Other ARG members who substantially contributed were:
1358 A. Burns (UK), J. Cousins (UK), R. Dewar (USA), G. Dismukes (USA), R. Duff (USA), P. Leroy
1359 (France), B. Moore (Canada), E. Ploedereder (Germany), J.P. Rosen (France),
1360 B. Thomas (USA), and T. Vardanega (Italy).]}@Comment{Pascal Leroy worked
1361 extensively on this work in the early days, although he hasn't participated
1362 recently.}
1363
1364 @ChgRef{Version=[3],Kind=[Added]}
1365 @Chg{Version=[3],New=[Special thanks go to Ada-Europe and the Ada Resource
1366 Association, without whose help and support this third edition of the
1367 Ada Standard would not have been possible. A special mention has to go to
1368 A. Beneschan (USA) for his efforts in eliminating sloppiness in our wording.
1369 M. Heaney (USA) also deserves a mention for his efforts to improve the
1370 containers packages. Finally, special thanks go to the convenor of ISO/IEC JTC
1371 1/SC 22/WG 9, J. Tokar (USA), who guided the document through the
1372 standardization process.],Old=[]} @Comment{The other financial contributors
1373 wanted to remain anonymous, so they are not mentioned here.}
1374
1375 @AddedSubHeading{Version=[4],Acknowledgements for the Ada 2012 Corrigendum 1 version}
1376
1377 @ChgRef{Version=[4],Kind=[Added]}
1378 @ChgAdded{Version=[4],Text=<The editor [R. Brukardt (USA)] would like to thank the many
1379 people whose hard work and assistance has made this update possible.>}
1380
1381 @ChgRef{Version=[4],Kind=[Added]}
1382 @ChgAdded{Version=[4],Text=[Thanks go out to all of the members of the
1383 ISO/IEC JTC 1/SC 22/WG 9
1384 Ada Rapporteur Group, whose work on creating and editing the wording
1385 changes was critical to the entire process. Especially valuable
1386 contributions came from the chairman of the ARG, J. Cousins (UK), who
1387 guided the work; T. Taft (USA), who seems to have the ability to cut any
1388 Gordian knot we encounter in wording; ; J. Barnes (UK) who continues to be
1389 able to find editorial errors invisible to most; S. Baird (USA), who
1390 so frequently finds obscure interactions that we now have named such things
1391 for him. Other ARG members who substantially contributed were:
1392 A. Burns (UK), R. Dewar (USA), G. Dismukes (USA), R. Duff (USA),
1393 B. Moore (Canada), E. Ploedereder (Germany), J.P. Rosen (France),
1394 E. Schonberg (USA), and T. Vardanega (Italy).]}
1395
1396 @ChgRef{Version=[4],Kind=[Added]}
1397 @Chg{Version=[4],New=[Finally, special thanks go to the convenor of ISO/IEC JTC
1398 1/SC 22/WG 9, J. Tokar (USA), who guided the document through the
1399 standardization process.],Old=[]} @Comment{The financial contributors
1400 wanted to remain anonymous, so they are not mentioned here.}
1401
1402 @AddedSubHeading{Version=[5],Acknowledgements for the Ada 202x version}
1403
1404 @ChgRef{Version=[5],Kind=[Added]}
1405 @ChgAdded{Version=[5],Text=<The editor [R. Brukardt (USA)] would like to thank the many
1406 people whose hard work and assistance has made this update possible.>}
1407
1408 @ChgAdded{Version=[5],Text=<But it's too early to thank people for a project
1409 that's just barely started.>}@Comment{Probably should thank the "Gang of Four",
1410 if the parallel stuff goes anywhere.}
1411
1412 @NewPage
1413 @SubHeading{Changes}
1414
1415 @begin{Intro}
1416
1417 @Leading@;The International Standard is the same as this version
1418 of the Reference Manual, except:
1419 @begin{Itemize}
1420 This list of Changes is not included in the International Standard.
1421
1422 The @lquotes@;Acknowledgements@rquotes@; page
1423 is not included in the International Standard.
1424
1425 The text in the running headers and footers on each page is slightly
1426 different in the International Standard.
1427
1428 The title page(s) are different in the International Standard.
1429
1430 This document is formatted for 8.5-by-11-inch paper, whereas
1431 the International Standard is formatted for A4 paper
1432 (210-by-297mm);
1433 thus, the page breaks are in different places.
1434
1435 @ChgRef{Version=[1],Kind=[Added]}
1436 @ChgRef{Version=[3],Kind=[DeletedAdded]}
1437 @ChgDeleted{Version=[3],Text=[@Chg{New=[The @lquotes@;Foreword to this version
1438 of the Ada Reference Manual@rquotes clause is not included in the International Standard.],Old=[]}]}
1439 @Comment{This subclause is not used in this revision.}
1440
1441 @ChgRef{Version=[2],Kind=[Added]}
1442 @ChgRef{Version=[3],Kind=[RevisedAdded],ARef=[AI05-0299-1]}
1443 @ChgAdded{Version=[2],Text=[The @lquotes@;Using this version of the Ada
1444 Reference Manual@rquotes @Chg{Version=[3],New=[subclause],Old=[clause]} is not included in the International Standard.]}
1445
1446 @ChgRef{Version=[3],Kind=[Added]}
1447 @ChgAdded{Version=[3],Text=[Paragraph numbers are not included
1448 in the International Standard.]}
1449 @end{Itemize}
1450 @end{Intro}
1451 @end{NotISO}
1452
1453 @begin{NotISO}
1454 @begin{Intro}
1455 @AddedSubHeading{Version=[1],Using this version of the Ada Reference Manual}
1456
1457 @ChgNote{The following text should be redone once we decide what form Ada 202x
1458 will take.}
1459
1460 @begin{RMOnly}
1461 @ChgRef{Version=[1],Kind=[Added]}
1462 @ChgRef{Version=[2],Kind=[RevisedAdded]}
1463 @ChgRef{Version=[3],Kind=[RevisedAdded]}
1464 @ChgRef{Version=[4],Kind=[RevisedAdded]}
1465 @ChgRef{Version=[5],Kind=[RevisedAdded]}
1466 @Chg{New=[This document has been revised with @Chg{Version=[4],New=[
1467 the corrections specified in Technical Corrigendum 1
1468 (ISO/IEC 8652:2012/COR.1:2016)@Chg{Version=[5],New=[ and other changes
1469 specifically for Ada 202x],Old=[]}],
1470 Old=[the corrections specified in Technical Corrigendum 1
1471 (ISO/IEC 8652:1995/COR.1:2001)@Chg{Version=[2],New=[ and
1472 Amendment 1 (ISO/IEC 8652/AMD 1:2007)@Chg{Version=[3],New=[, along with
1473 changes specifically for this third edition],Old=[]}],Old=[]}]}.
1474 In addition, a variety of editorial errors have been corrected.],Old=[]}
1475 @end{RMOnly}
1476 @begin{AARMOnly}
1477 @ChgRef{Version=[1],Kind=[Added]}
1478 @ChgRef{Version=[2],Kind=[RevisedAdded]}
1479 @ChgRef{Version=[3],Kind=[RevisedAdded]}
1480 @ChgRef{Version=[4],Kind=[RevisedAdded]}
1481 @ChgRef{Version=[5],Kind=[RevisedAdded]}
1482 @Chg{New=[This document has been revised with @Chg{Version=[4],New=[
1483 the corrections specified in Technical Corrigendum 1
1484 (ISO/IEC 8652:2012/COR.1:2016)@Chg{Version=[5],New=[ and other changes
1485 specifically for Ada 202x],Old=[]}],
1486 Old=[the corrections specified in Technical Corrigendum 1
1487 (ISO/IEC 8652:1995/COR.1:2001)@Chg{Version=[2],New=[ and
1488 Amendment 1 (ISO/IEC 8652/AMD 1:2007)@Chg{Version=[3],New=[, along with
1489 changes specifically for this third edition],Old=[]}],Old=[]}]}.
1490 In addition, @Chg{Version=[3],New=[more],Old=[additional]} annotations
1491 have been added and a variety of editorial errors have been corrected.],Old=[]}
1492 @end{AARMOnly}
1493
1494 @begin{RMOnly}
1495 @ChgRef{Version=[1],Kind=[Added]}
1496 @ChgRef{Version=[2],Kind=[RevisedAdded]}
1497 @ChgRef{Version=[3],Kind=[RevisedAdded]}
1498 @ChgRef{Version=[4],Kind=[RevisedAdded]}
1499 @ChgRef{Version=[5],Kind=[RevisedAdded]}
1500 @Chg{New=[Changes to the original 8652:1995 can be identified by the version
1501 number @Chg{Version=[2],New=[],Old=[/1 ]}following the paragraph
1502 number.@Chg{Version=[2],New=[ Paragraphs with a version number of /1 were
1503 changed by Technical Corrigendum 1 @Chg{Version=[4],New=[for Ada 95 ],Old=[]}or
1504 were editorial corrections at that time,
1505 while paragraphs with a version number of /2 were changed by Amendment 1 or were
1506 more recent editorial corrections@Chg{Version=[3],New=[, and paragraphs with a
1507 version number of /3 were changed by the third (2012) edition of the Standard
1508 or were still
1509 more recent editorial corrections],Old=[]}.],Old=[]}@Chg{Version=[4],New=[ Paragraphs
1510 with a version number of /4 are changed by Technical Corrigendum 1 for Ada 2012
1511 or were editorial corrections at that time.],Old=[]}@Chg{Version=[5],New=[ Paragraphs
1512 with a version number of /5 are changes or
1513 editorial corrections for Ada 202x.],Old=[]}
1514 Paragraphs not so marked are
1515 unchanged by @Chg{Version=[2],New=[@Chg{Version=[5],New=[Ada 202x, ],Old=[]}@Chg{Version=[4],
1516 New=[Technical Corrigendum 1 for Ada 2012, ],Old=[]}@Chg{Version=[3],
1517 New=[the third edition, ],Old=[]}Amendment 1, ],Old=[]}Technical Corrigendum
1518 1@Chg{Version=[2],New=[@Chg{Version=[4],New=[ for Ada 95],Old=[]},],Old=[]} or editorial corrections. Paragraph numbers
1519 of unchanged paragraphs are the same as in
1520 the @Chg{Version=[3],New=[1995 edition of the],Old=[original]} Ada Reference
1521 Manual. In addition, some versions of this document include revision bars near the
1522 paragraph numbers. Where paragraphs are inserted, the paragraph numbers are of
1523 the form pp.nn, where pp is the number of the preceding paragraph, and nn is an
1524 insertion number. For instance, the first paragraph inserted after paragraph 8
1525 is numbered 8.1, the second paragraph inserted is numbered 8.2, and so on.
1526 Deleted paragraphs are indicated by the text @i{@shrink{This paragraph was
1527 deleted.}} Deleted paragraphs include empty paragraphs that were numbered in
1528 the @Chg{Version=[3],New=[1995 edition of the],Old=[original]}
1529 Ada Reference Manual.],Old=[]}
1530 @end{RMOnly}
1531 @begin{AARMOnly}
1532 @ChgRef{Version=[1],Kind=[Added]}
1533 @ChgRef{Version=[2],Kind=[RevisedAdded]}
1534 @ChgRef{Version=[3],Kind=[RevisedAdded]}
1535 @ChgRef{Version=[4],Kind=[RevisedAdded]}
1536 @Chg{New=[Changes to the original 8652:1995 can be identified by the version
1537 number @Chg{Version=[2],New=[],Old=[/1 ]}following the paragraph
1538 number.@Chg{Version=[2],New=[ Paragraphs with a version number of /1 were
1539 changed by Technical Corrigendum 1 @Chg{Version=[4],New=[for Ada 95 ],Old=[]}or were editorial corrections at that time,
1540 while paragraphs with a version number of /2 were changed by Amendment 1 or were
1541 more recent editorial corrections@Chg{Version=[3],New=[, and paragraphs with a
1542 version number of /3 were changed by the third (2012) edition of the Standard
1543 or were still
1544 more recent editorial corrections],Old=[]}.],Old=[]}@Chg{Version=[4],New=[ Paragraphs
1545 with a version number of /4 are changed by Technical Corrigendum 1 for Ada 2012
1546 or were editorial corrections at that time.],Old=[]}@Chg{Version=[5],New=[ Paragraphs
1547 with a version number of /5 are changes or
1548 editorial corrections for Ada 202x.],Old=[]}
1549 Paragraphs not so marked are
1550 unchanged by @Chg{Version=[2],New=[@Chg{Version=[5],New=[Ada 202x, ],Old=[]}@Chg{Version=[4],
1551 New=[Technical Corrigendum 1 for Ada 2012, ],Old=[]}@Chg{Version=[3],
1552 New=[the third edition, ],Old=[]}Amendment 1, ],Old=[]}Technical Corrigendum
1553 1@Chg{Version=[2],New=[,],Old=[]} or editorial corrections. Paragraph numbers
1554 of unchanged paragraphs are the same as in the @Chg{Version=[3],New=[1995
1555 edition of the],Old=[original]} Ada Reference Manual. Inserted text is indicated
1556 by underlining, and deleted text is
1557 indicated by strikethroughs. @Chg{Version=[2],New=[Some versions also use
1558 color to indicate the version of the change.],Old=[]}Where paragraphs are
1559 inserted, the paragraph numbers are of the form pp.nn, where pp is the number
1560 of the preceding paragraph, and nn is an insertion number. For instance, the
1561 first paragraph inserted after paragraph 8 is numbered 8.1, the second
1562 paragraph inserted is numbered 8.2, and so on. Deleted paragraphs are indicated
1563 by the text @i{@shrink{This paragraph was deleted.}} Deleted paragraphs include
1564 empty paragraphs that were numbered in the @Chg{Version=[3],New=[1995 edition of
1565 the],Old=[original]} Ada Reference Manual. Similar markings and numbering
1566 @Chg{Version=[3],New=[are],Old=[is]} used for changes to annotations.],Old=[]}
1567 @begin{Honest}
1568 @ChgRef{Version=[3],Kind=[AddedNormal]}
1569 @ChgAdded{Version=[3],Text=[The paragraph number is considered part of the
1570 paragraph; when a paragraph is moved to a different paragraph number, it is
1571 marked as changed even if the contents have not changed.]}
1572 @end{Honest}
1573 @end{AARMOnly}
1574 @end{Intro}
1575 @end{NotISO}
1576