欢迎来到麦多课文档分享! | 帮助中心 海量文档,免费浏览,给你所需,享你所想!
麦多课文档分享
全部分类
  • 标准规范>
  • 教学课件>
  • 考试资料>
  • 办公文档>
  • 学术论文>
  • 行业资料>
  • 易语言源码>
  • ImageVerifierCode 换一换
    首页 麦多课文档分享 > 资源分类 > PDF文档下载
    分享到微信 分享到微博 分享到QQ空间

    BS PD ISO IEC TR 10182-2016 Information technology Programming languages their environments and system software interfaces Guidelines for language bindings《信息技术 编程语言 语言环境及系统软件接口 语言汇集指南》.pdf

    • 资源ID:398658       资源大小:2MB        全文页数:52页
    • 资源格式: PDF        下载积分:10000积分
    快捷下载 游客一键下载
    账号登录下载
    微信登录下载
    二维码
    微信扫一扫登录
    下载资源需要10000积分(如需开发票,请勿充值!)
    邮箱/手机:
    温馨提示:
    如需开发票,请勿充值!快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。
    如需开发票,请勿充值!如填写123,账号就是123,密码也是123。
    支付方式: 支付宝扫码支付    微信扫码支付   
    验证码:   换一换

    加入VIP,交流精品资源
     
    账号:
    密码:
    验证码:   换一换
      忘记密码?
        
    友情提示
    2、PDF文件下载后,可能会被浏览器默认打开,此种情况可以点击浏览器菜单,保存网页到桌面,就可以正常下载了。
    3、本站不支持迅雷下载,请使用电脑自带的IE浏览器,或者360浏览器、谷歌浏览器下载即可。
    4、本站资源下载后的文档和图纸-无水印,预览文档经过压缩,下载后原文更清晰。
    5、试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。

    BS PD ISO IEC TR 10182-2016 Information technology Programming languages their environments and system software interfaces Guidelines for language bindings《信息技术 编程语言 语言环境及系统软件接口 语言汇集指南》.pdf

    1、BSI Standards Publication PD ISO/IEC TR 10182:2016 Information technology Programming languages, their environments and system software interfaces Guidelines for language bindingsPD ISO/IEC TR 10182:2016 PUBLISHED DOCUMENT National foreword This Published Document is the UK implementation of ISO/IEC

    2、 TR 10182:2016. It supersedes BS ISO/IEC TR 10182:1993 which is withdrawn. The UK participation in its preparation was entrusted to Technical Committee IST/5, Programming languages, their environments and system software interfaces. A list of organizations represented on this committee can be obtain

    3、ed on request to its secretary. This publication does not purport to include all the necessary provisions of a contract. Users are responsible for its correct application. The British Standards Institution 2016. Published by BSI Standards Limited 2016 ISBN 978 0 580 88135 0 ICS 35.060 Compliance wit

    4、h a British Standard cannot confer immunity from legal obligations. This Published Document was published under the authority of the Standards Policy and Strategy Committee on 31 March 2016. Amendments issued since publication Date Text affectedPD ISO/IEC TR 10182:2016 Information technology Program

    5、ming languages, their environments and system software interfaces Guidelines for language bindings Technologies de linformation Langages de programmation, leurs environnements et interfaces logicielles des systmes Techniques dinterface pour les normes de langages de programmation TECHNICAL REPORT IS

    6、O/IEC TR 10182 First edition 2016-03-15 Reference number ISO/IEC TR 10182:2016(E) ISO/IEC 2016 PD ISO/IEC TR 10182:2016ii ISO/IEC 2016 All rights reserved COPYRIGHT PROTECTED DOCUMENT ISO/IEC 2016, Published in Switzerland All rights reserved. Unless otherwise specified, no part of this publication

    7、may be reproduced or utilized otherwise in any form or by any means, electronic or mechanical, including photocopying, or posting on the internet or an intranet, without prior written permission. Permission can be requested from either ISO at the address below or ISOs member body in the country of t

    8、he requester. ISO copyright office Ch. de Blandonnet 8 CP 401 CH-1214 Vernier, Geneva, Switzerland Tel. +41 22 749 01 11 Fax +41 22 749 09 47 copyrightiso.org www.iso.org ISO/IEC TR 10182:2016(E)PD ISO/IEC TR 10182:2016ISO/IEC TR 10182:2016(E)Foreword iv Introduction v 1 Scope . 1 2 T erms and defin

    9、itions . 1 2.1 Terms . 1 2.2 Abbreviated terms . 3 3 Overview of functional binding methods 3 3.1 Introduction to Methods . 3 3.2 System Facility Standard Procedural Interface (Method 1) . 4 3.3 User-Defined Procedural Interfaces (Method 2) . 5 3.4 Programming Language Extensions with Native Syntax

    10、(Method 3) 5 3.5 Programming Languages with Embedded Alien Syntax (Method 4) . 6 3.6 Binding Pre-Existing Language Elements (Method 5) 6 3.7 Conclusions 6 4 Guidelines 7 4.1 Organizational Guidelines for Preparation of Language Bindings . 7 4.2 General Technical Guidelines 9 4.3 Recommendations for

    11、Functional Specifications 9 4.4 Method-Dependent Guidelines for Language Bindings 10 4.4.1 Introduction to Method-Dependent Guidelines .10 4.4.2 Guidelines for Standard Procedural Interfaces 10 4.4.3 Guidelines for User Defined Procedural Interfaces 17 4.4.4 Guidelines for Programming Language Exten

    12、sions with Native Syntax .18 4.4.5 Uses of Programming Languages with Embedded Alien Syntax .18 5 Future directions .18 Annex A (informative) Graphic Binding Examples20 Annex B (informative) GKS Bindings Generic Issues 27 Bibliography .40 ISO/IEC 2016 All rights reserved iii Contents PagePD ISO/IEC

    13、TR 10182:2016ISO/IEC TR 10182:2016(E)Foreword ISO (the International Organization for Standardization) and IEC (the International Electrotechnical Commission) form the specialized system for worldwide standardization. National bodies that are members of ISO or IEC participate in the development of I

    14、nternational Standards through 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 lia

    15、ison with ISO and IEC, also take part in the work. In the field of information technology, ISO and IEC have established a joint technical committee, ISO/IEC JTC 1. The procedures used to develop this document and those intended for its further maintenance are described in the ISO/IEC Directives, Par

    16、t 1. In particular the different approval criteria needed for the different types of document should be noted. This document was drafted in accordance with the editorial rules of the ISO/IEC Directives, Part 2 (see www.iso.org/directives). Attention is drawn to the possibility that some of the eleme

    17、nts of this document may be the subject of patent rights. ISO and IEC shall not be held responsible for identifying any or all such patent rights. Details of any patent rights identified during the development of the document will be in the Introduction and/or on the ISO list of patent declarations

    18、received (see www.iso.org/patents). Any trade name used in this document is information given for the convenience of users and does not constitute an endorsement. For an explanation on the meaning of ISO specific terms and expressions related to conformity assessment, as well as information about IS

    19、Os adherence to the WTO principles in the Technical Barriers to Trade (TBT), see the following URL: Foreword Supplementary information. The committee responsible for this Technical Report is ISO/IEC JTC 1, Information technology, Sub- Committee SC 22, Programming languages, their environments and sy

    20、stem software interfaces. This first edition of ISO/IEC TR 10182:2016 cancels and replaces the first edition of ISO/IEC TR 10182:1993, of which it constitutes a minor revision with the following changes: the references section has been deleted; minor editorial errors have been corrected. iv ISO/IEC

    21、2016 All rights reservedPD ISO/IEC TR 10182:2016ISO/IEC TR 10182:2016(E) Introduction This Technical Report is a compilation of the experience and knowledge gained by the members of ISO/IEC JTC1/SC22/WG11 (Techniques for Bindings) from the generation of programmers interfaces to FUNCTIONAL INTERFACE

    22、 STANDARDS. Although current experience was derived from the fields of computer graphics and database management, the problems discussed are thought to be generally applicable for mappings of other functional interface standards to programming languages. This Technical Report is intended a) to ident

    23、ify the problems and conflicts which shall be resolved; b) to suggest guidelines for future use; c) to provide scope and direction to required additional work, such as common procedural calling mechanisms and data types; and d) as a historical record of past experiences and decisions. This Technical

    24、 Report is incomplete; the authors have concentrated on those areas where experience and expertise was readily available. The ideas and issues brought forward here emerged from more than 10 years of work, and are represented in International Standards. Clause 3 of this Technical Report contains the

    25、results of a survey of current methods used for language binding development. Characteristics of each method are given, followed by reasons for the selection of the method. Application of the methods has suggested some guidelines that are presented in Clause 4. Clauses 3 and 4 contain documentation

    26、of the current state of language binding efforts; Clause 5 addresses future directions for language bindings. Circulation of this Technical Report is necessary at this stage, as input and discussion from representatives of ISO/IEC JTC1/SC21 (functional specification standards developers), ISO/IEC JT

    27、C1/SC24 (computer graphics standards developers), and ISO/IEC JTC1/SC22 (language standards developers) is urgently sought. The Technical Report in its current form may be useful for those about to embark on language binding developments. ISO/IEC 2016 All rights reserved vPD ISO/IEC TR 10182:2016PD

    28、ISO/IEC TR 10182:2016Information technology Programming languages, their environments and system software interfaces Guidelines for language bindings 1 Scope This Technical Report is based on experience gained in the standardization of two major areas in information processing. One area covers progr

    29、amming languages. The other area is composed of the services necessary to an application program to achieve its goal. The services are divided into coherent groups, each referred to as a SYSTEM FACILITY, that are accessed through a FUNCTIONAL INTERFACE. The specification of a system facility, referr

    30、ed to as a FUNCTIONAL SPECIFICATION, defines a collection of SYSTEM FUNCTIONS, each of which carries out some well-defined service. Since in principle there is no reason why a particular system facility should not be used by a program, regardless of the language in which it is written, it is the pra

    31、ctice of system facility specifiers to define an abstract functional interface that is language independent. In this way, the concepts in a particular system facility may be refined by experts in that area without regard for language peculiarities. An internally coherent view of a particular system

    32、facility is defined, relating the system functions to each other in a consistent way and relating the system functions to other layers within the system facility, including protocols for communication with other objects in the total system. However, if these two areas are standardized independently,

    33、 it is not possible to guarantee that programs from one operating environment can be moved to another, even if the programs are written in a standard programming language and use only standard system facilities. A language binding of a system facility to a programming language provides language synt

    34、ax that maps the system facilitys functional interface. This allows a program written in the language to access the system functions constituting the system facility in a standard way. The purpose of a language binding is to achieve portability of a program that uses particular facilities in a parti

    35、cular language. Examples of system facilities that have had language bindings developed for them are GKS, NDL, and SQL (see Bibliography). It is anticipated that further language binding development will be required. Some system facilities currently being standardized have no language bindings and a

    36、dditional system facilities will be standardized. There is a possibility of n m language bindings, where n is the number of languages and m the number of system facilities. The scope of this Technical Report is to classify language binding methods, reporting on particular instances in detail, and to

    37、 produce suggested guidelines for future language binding standards. Note that the language bindings and the abstract facility interfaces shall have a compatible run time representation, but the abstract facility does not necessarily have to be written in the host language. For example, if the appli

    38、cation program is using a Pascal language binding and the corresponding facility is written in FORTRAN, there shall be a compatible run time representation in that operating environment. How this compatibility is achieved is outside the scope of these guidelines. This is generally a property of the

    39、operating environment defined by the implementor, and is reviewed briefly in this Technical Report. 2 T erms a nd definiti ons 2.1 Terms ABSTRACT SERVICE INTERFACE: An interface having an abstract definition that defines the format and the semantics of the function invoked independently of the concr

    40、ete syntax (actual representation) of the values and the invocation mechanism. TECHNICAL REPORT ISO/IEC TR 10182:2016(E) ISO/IEC 2016 All rights reserved 1PD ISO/IEC TR 10182:2016ISO/IEC TR 10182:2016(E) ALIEN SYNTAX: Syntax of a language other than the host language. EMBEDDED ALIEN SYNTAX: Statemen

    41、ts in a special language for access to a system facility, included in a source program written in a standard programming language. EXTERNAL IDENTIFIER: An identifier that is visible outside of a program. FUNCTIONAL INTERFACE: The abstract definition of the interface to a system facility by which sys

    42、tem functions are provided. FUNCTIONAL SPECIFICATION: The specification of a system facility. In the context of this Technical Report, the functional specification is normally a potential or actual standard. For each system function the specification defines the parameters for invocation and their e

    43、ffects. HOST LANGUAGE: The programming language for which a standard language binding is produced; the language in which a program is written. IDENTIFIER: Name of an object in an application program that uses a system facility. IMPLEMENTATION-DEFINED: Possibly differing between different processors

    44、for the same language, but required by the language standard to be defined and documented by the implementor. IMPLEMENTATION-DEPENDENT: Possibly differing between different processors for the same language, and not necessarily defined for any particular processor. IMPLEMENTOR: The individual or orga

    45、nization that realizes a system facility through software, providing access to the system functions by means of the standard language bindings. LANGUAGE BINDING OF f TO l or l LANGUAGE BINDING OF f: A specification of the standard interface to facility f for programs written in language l. LANGUAGE

    46、COMMITTEE: The ISO technical Subcommittee or Working Group responsible for the definition of a programming language standard. PROCEDURAL BINDING (system facility standard procedural interface): The definition of the interface to a system facility available to users of a standard programming language

    47、 through procedure calls. PROCEDURAL INTERFACE DEFINITION LANGUAGE: A language for defining specific procedures for interfacing to a system facility as used, for example, in ISO 8907:1987, Database Language NDL. PROCEDURE: A general term used in this Technical Report to cover a programming language

    48、concept which has different names in different programming languages subroutine and function in FORTRAN, procedure and function in Pascal, etc. A procedure is a programming language dependent method for accessing one or more system functions from a program. A procedure has a name and a set of formal

    49、 parameters with defined data types. Invoking a procedure transfers control to that procedure. PROCESSOR: A system or mechanism that accepts a program as input, prepares it for execution, and executes the process so defined with data to produce results. PROGRAMMING LANGUAGE EXTENSIONS WITH NATIVE SYNTAX or native syntax binding: The functionality of the system facilities is incorporated into the host programming language so that the system functions appear as natural parts of the language. The


    注意事项

    本文(BS PD ISO IEC TR 10182-2016 Information technology Programming languages their environments and system software interfaces Guidelines for language bindings《信息技术 编程语言 语言环境及系统软件接口 语言汇集指南》.pdf)为本站会员(赵齐羽)主动上传,麦多课文档分享仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知麦多课文档分享(点击联系客服),我们立即给予删除!




    关于我们 - 网站声明 - 网站地图 - 资源地图 - 友情链接 - 网站客服 - 联系我们

    copyright@ 2008-2019 麦多课文库(www.mydoc123.com)网站版权所有
    备案/许可证编号:苏ICP备17064731号-1 

    收起
    展开