ISO-10514-2-1998.pdf
《ISO-10514-2-1998.pdf》由会员分享,可在线阅读,更多相关《ISO-10514-2-1998.pdf(50页珍藏版)》请在三一文库上搜索。
1、B C Reference number ISO/IEC 10514-2:1998(E) INTERNATIONAL STANDARD ISO/IEC 10514-2 First edition 1998-12-01 Information technology Programming languages Part 2: Generics in Modula-2 Technologies de linformation Langages de programmation Partie 2: lments gnriques en modula 2 Copyright International
2、Organization for Standardization Provided by IHS under license with ISO Licensee=NASA Technical Standards 1/9972545001 Not for Resale, 04/07/2007 07:45:46 MDTNo reproduction or networking permitted without license from IHS -,-,- ISO/IEC 10514-2:1998(E) ISO/IEC 1998 All rights reserved. Unless otherw
3、ise specified, no part of this publication may be reproduced or utilized in any form or by any means, electronic or mechanical, including photocopying and micro- film, without permission in writing from the publisher. ISO/IEC Copyright Office Case postale 56 CH-1211 Genve 20 Switzerland Printed in S
4、witzerland ii ContentsPage Foreword .iii Introduction.iv 1Scope . 1 2Normative References 1 3Definitions, Structure and Conventions. 2 4Requirements for Implementations 3 5The Lexis. 6 6The Language. 6 7System Modules 27 8Required Library Modules 27 9Standard Library Modules 27 Annex A (Normative):
5、Changes To the Syntax of the Base Language 28 Annex B (Normative): Collected Concrete Syntax . 29 Annex C (Informative): Rationale 30 Annex D (Informative): Translations of Example Refinements to Standard Modula-2 33 Annex E (Informative): File Names 43 Annex F (Informative): Participating Individua
6、ls 44 Bibliography. 45 Copyright International Organization for Standardization Provided by IHS under license with ISO Licensee=NASA Technical Standards 1/9972545001 Not for Resale, 04/07/2007 07:45:46 MDTNo reproduction or networking permitted without license from IHS -,-,- ISO/IECISO/IEC 10514-2:1
7、998(E) iii Foreword ISO (the International Organization for Standardization) and IEC (the Inter- national Electrotechnical Commission) form the specialized system for worldwide standardization. National bodies that are members of ISO or IEC participate in the development of International Standards t
8、hrough technical committees established by the respective organization to deal with particular fields of technical activity. ISO and IEC technical committees collaborate in fields of mutual interest. Other international organizations, governmental and non-governmental, in liaison with ISO and IEC, a
9、lso take part in the work. In the field of information technology, ISO and IEC have established a joint technical committee, ISO/IEC JTC 1. Draft International Standards adopted by the joint technical committee are circulated to national bodies for voting. Publication as an International Standard re
10、quires approval by at least 75 % of the national bodies casting a vote. International Standard ISO/IEC 10514-2 was prepared by Joint Technical Committee ISO/IEC JTC 1 Information technology, Subcommittee SC 22, Programming languages, their environments and system software interfaces. ISO/IEC 10514 c
11、onsists of the following parts, under the general title Information technology Programming languages : Part 1: Modula-2, Base Language Part 2: Generics in Modula-2 Part 3: Object Oriented Modula-2 Annexes A and B form an integral part of this part of ISO/IEC 10514. Annexes C, D, E, and F are for inf
12、ormation only. Copyright International Organization for Standardization Provided by IHS under license with ISO Licensee=NASA Technical Standards 1/9972545001 Not for Resale, 04/07/2007 07:45:46 MDTNo reproduction or networking permitted without license from IHS -,-,- ISO/IEC 10514-2:1998(E) ISO/IEC
13、iv Introduction This part of ISO/IEC 10514 specifies the form and meaning of programs written in ISO Standard Modula-2 with Generic extensions and by reference to that specification lays down requirements for implementations of ISO Standard Modula-2 with Generic extensions. The reader is referred to
14、 International Standard ISO/IEC 10514-1 (herein referred to as “the Base Language“) for introductory remarks on the programming language Modula-2. This part of ISO/IEC 10514 defines ISO Standard Modula-2 with Generic extensions by additions to the Base Language without changing the meaning of any pa
15、rts of the Base Language. This part of ISO/IEC 10514 does not provide a formal specification of ISO Standard Modula-2 with Generic extensions, although it is the intention of WG13 to construct the appropriate VDM-SL descriptions for the syntax and semantics described herein when committee resources
16、permit. Copyright International Organization for Standardization Provided by IHS under license with ISO Licensee=NASA Technical Standards 1/9972545001 Not for Resale, 04/07/2007 07:45:46 MDTNo reproduction or networking permitted without license from IHS -,-,- INTERNATIONAL STANDARD ISO/IECISO/IEC 1
17、0514-2:1998(E) 1 Information technology Programming languages Part 2: Generics in Modula-2 1Scope 1.1General This part of ISO/IEC 10514 specifies extensions to allow generic programming facilities to be added to the base Modula-2 language defined in International Standard ISO/IEC 10514-1 without alt
18、ering the meaning of valid programs allowed by the Base Language (except for the use of the new keyword introduced by this standardsee clause 5). 1.2Specifications included in this part of ISO/IEC 10514 In addition to the specifications included in the Base Language this part of ISO/IEC 10514 provid
19、es specifications for: required symbols for programs written in ISO Standard Modula-2 with Generic extensions; the lexical structure and semantics of programs written in ISO Standard Modula-2 with Generic extensions; the syntax of programs written in ISO Standard Modula-2 with Generic extensions; vi
20、olations of the rules for the use of the Generic extensions that a conforming implementation is required to detect; further compliance requirements for implementations, including documentation requirements. 1.3Relationship to ISO/IEC 10514-1 This part of ISO/IEC 10514 is part two of the multi-part S
21、tandard ISO/IEC 10514. This part of ISO/IEC 10514 extends and modifies the Base Language ISO/IEC 10514-1, but the adoption of this part of ISO/IEC 10514 is optional with respect to the Base Language. This part of ISO/IEC 10514 is also independent of any other parts of ISO/IEC 10514, except for part
22、1, and can be adopted either together with or independently of such other parts. 1.4Specifications not within the scope of this part of ISO/IEC 10514 In addition to the categories of specifications excluded by the Base Language this part of ISO/IEC 10514 provides no specifications for: the method by
23、 which specific refinements are constructed from generic library modules; the method by which generic library modules, their associated refining modules, and the refinements produced by these are stored (including any correspondence between the module names and system file names where files are used
24、). 2Normative References The following normative documents contain provisions which, through reference in this text, constitute provisions of this part of ISO/IEC 10514. For dated references, subsequent amendments to, or revisions of, any of these publications do not apply. However, parties to agree
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- ISO 10514 1998
链接地址:https://www.31doc.com/p-3774626.html