标准摘要
[中文适用范围]: 目标 除了基本语言的目标之外,ISO/IEC 10514 这部分的目标是提供简单的扩展,以允许将面向对象的编程设施添加到国际标准 ISO/IEC 10514-1 中定义的基本语言中。 不改变基本语言允许的任何有效程序的含义(本标准引入的新关键字的使用除外,请参见第 5 条)。 2 ISO/IEC 10514 本部分中包含的规范 除了基本语言中包含的规范外,ISO/IEC 10514 本部分还提供了以下规范: ——面向对象的 Modula-2 程序所需的符号; ——面向对象 Modula-2 程序的词法结构、句法结构和语义; ——面向对象的 Modula-2 系统模块的接口和语义; ——违反了面向对象扩展的使用规则,需要一致的实现来检测; ——进一步的实施合规要求,包括文件要求。 3 与 ISO/IEC 10514-1 的关系 ISO/IEC 10514 的这一部分是多部分标准 ISO/IEC 10514 的第三部分。 ISO/IEC 10514 的这一部分扩展并修改了基本语言 ISO/IEC 10514-1,但对于基本语言而言,ISO/IEC 10514 这部分的采用是可选的。 ISO/IEC 10514 的这一部分也独立于 ISO/IEC 10514 除第 1 部分之外的任何其他部分,并且可以与其他部分一起采用或独立采用。 4 不在 ISO/IEC 10514 本部分范围内的规范 除了基本语言排除的规范类别外,ISO/IEC 10514 本部分未提供以下规范: ——对象的内部表示及其相关方法; ——垃圾收集器的实现; ——跟踪对象的跟踪机制的实现。 [外文原描述]: 1.1 Goals In addition to the goals of the Base Language, the goal of this part of ISO/IEC 10514 is to provide simple extensions to allow object oriented programming facilities to be added to the Base Language defined in International Standard ISO/IEC 10514-1 without altering the meaning of any valid program allowed by the Base Language (except for the use of the new keywords introduced by this standard, see clause 5). 1.2 Specifications included in this part of ISO/IEC 10514 In addition to the specifications included in the Base Language this part of ISO/IEC 10514 provides specifications for: — required symbols for Object Oriented Modula-2 programs; — the lexical structure, the syntactic structure and semantics of Object Oriented Modula-2 programs; — the interface to and the semantics of Object Oriented Modula-2 system modules; — violations of the rules for the use of the object oriented extensions that a conforming implementation is required to detect; — further compliance requirements for implementations, including documentation requirements. 1.3 Relationship to ISO/IEC 10514-1 This part of ISO/IEC 10514 is part three of the multi-part standard 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 1, and can be adopted either together with or independently of such other parts. 1.4 Specifications 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 internal representation of the objects and their associated methods; — the implementation of the garbage collector; — the implementation of the tracking mechanism for traced objects.
英文名称Information technology - Programming languages - Part 3: Object Oriented Modula-2