1、Information technology Programming languages,their environments and system software interfaces Guidelines for language bindingsTechnologies de linformation Langages de programmation,leurs environnements et interfaces logicielles des systmes Techniques dinterface pour les normes de langages de progra
2、mmationTECHNICAL REPORTISO/IEC TR10182First edition2016-03-15Reference numberISO/IEC TR 10182:2016(E)ISO/IEC 2016 ii ISO/IEC 2016 All rights reservedCOPYRIGHT PROTECTED DOCUMENT ISO/IEC 2016,Published in SwitzerlandAll rights reserved.Unless otherwise specified,no part of this publication may be rep
3、roduced 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 the requester.IS
4、O copyright officeCh.de Blandonnet 8 CP 401CH-1214 Vernier,Geneva,SwitzerlandTel.+41 22 749 01 11Fax+41 22 749 09 47copyrightiso.orgwww.iso.orgISO/IEC TR 10182:2016(E)ISO/IEC TR 10182:2016(E)Foreword.ivIntroduction.v1 Scope.12Termsanddefinitions.12.1 Terms.12.2 Abbreviated terms.33 Overview of funct
5、ional binding methods.33.1 Introduction to Methods.33.2 System Facility Standard Procedural Interface(Method 1).43.3 User-Defined Procedural Interfaces(Method 2).53.4 Programming Language Extensions with Native Syntax(Method 3).53.5 Programming Languages with Embedded Alien Syntax(Method 4).63.6 Bin
6、ding Pre-Existing Language Elements(Method 5).63.7 Conclusions.64 Guidelines.74.1 Organizational Guidelines for Preparation of Language Bindings.74.2 General Technical Guidelines.94.3 Recommendations for Functional Specifications.94.4 Method-Dependent Guidelines for Language Bindings.104.4.1 Introdu
7、ction to Method-Dependent Guidelines.104.4.2 Guidelines for Standard Procedural Interfaces.104.4.3 Guidelines for User Defined Procedural Interfaces.174.4.4 Guidelines for Programming Language Extensions with Native Syntax.184.4.5 Uses of Programming Languages with Embedded Alien Syntax.185 Future d
8、irections.18Annex A(informative)Graphic Binding Examples.20Annex B(informative)GKS Bindings Generic Issues.27Bibliography.40 ISO/IEC 2016 All rights reserved iiiContents Page ISO/IEC TR 10182:2016(E)ForewordISO(the International Organization for Standardization)and IEC(the International Electrotechn
9、ical Commission)form the specialized system for worldwide standardization.National bodies that are members of ISO or IEC participate in the development of International Standards through technical committees established by the respective organization to deal with particular fields of technical activ
10、ity.ISO and IEC technical committees collaborate in fields of mutual interest.Other international organizations,governmental and non-governmental,in liaison 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
11、/IEC JTC 1.The procedures used to develop this document and those intended for its further maintenance are described in the ISO/IEC Directives,Part 1.In particular the different approval criteria needed for the different types of document should be noted.This document was drafted in accordance with
12、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 elements 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
13、 patent rights identified during the development of the document will be in the Introduction and/or on the ISO list of patent declarations 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.F
14、or an explanation on the meaning of ISO specific terms and expressions related to conformity assessment,as well as information about ISOs adherence to the WTO principles in the Technical Barriers to Trade(TBT),see the following URL:Foreword Supplementary information.The committee responsible for thi
15、s Technical Report is ISO/IEC JTC 1,Information technology,Sub-Committee SC 22,Programming languages,their environments and system 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
16、with the following changes:the references section has been deleted;minor editorial errors have been corrected.iv ISO/IEC 2016 All rights reserved ISO/IEC TR 10182:2016(E)IntroductionThis 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 STANDARDS.Although current experience was derived from the fields of computer graphics and database manag