【英文标准名称】:Informationtechnology-Programminglanguages,theirenvironmentsandsystemsoftwareinterfaces-Guidelinesforlanguagebindings
【原文标准名称】:信息技术程序设计语言及其环境和系统软件接口语言联编指南
【标准号】:ISO/IEC10182-1993
【标准状态】:现行
【国别】:国际
【发布日期】:
【实施或试行日期】:
【发布单位】:国际标准化组织(ISO)
【起草单位】:JTC1/SC2
【标准类型】:()
【标准水平】:()
【中文主题词】:
【英文主题词】:
【摘要】:Thisdocumentisbasedonexperiencegainedinthestandardizationoftwomajorareasininformationprocessing.Oneareacoversprogramminglanguages.Theotherareaiscomposedoftheservicesnecessarytoanapplicationprogramtoachieveitsgoal.Theservicesaredividedintocoherentgroups,eachreferredtoasaSYSTEMFACILITY,thatareaccessedthroughaFUNCTIONALINTERFACE.Thespecificationofasystemfacility,referredtoasaFUNCTIONALSPECIFICATION,definesacollectionofSYSTEMFUNCTIONS,eachofwhichcarriesoutsomewell-definedservice.Sinceinprinciplethereisnoreasonwhyaparticularsystemfacilityshouldnotbeusedbyaprogram,regardlessofthelanguageinwhichitiswritten,itisthepracticeofsystemfacilityspecifierstodefinean'abstract'functionalinterfacethatislanguageindependent.Inthisway,theconceptsinaparticularsystemfacilitymayberefinedbyexpertsinthatareawithoutregardforlanguagepeculiarities.Aninternallycoherentviewofaparticularsystemfacilityisdefined,relatingthesystemfunctionstoeachotherinaconsistentwayandrelatingthesystemfunctionstootherlayerswithinthesystemfacility,includingprotocolsforcommunicationwithotherobjectsinthetotalsystem.However,ifthesetwoareasarestandardizedindependently,itisnotpossibletoguaranteethatprogramsfromoneoperatingenvironmentcanbemovedtoanother,eveniftheprogramsarewritteninastandardprogramminglanguageanduseonlystandardsystemfacilities.Alanguagebindingofasystemfacilitytoaprogramminglanguageprovideslanguagesyntaxthatmapsthesystemfacility'sfunctionalinterface.Thisallowsaprogramwritteninthelanguagetoaccessthesystemfunctionsconstitutingthesystemfacilityinastandardway.Thepurposeofalanguagebindingistoachieveportabilityofaprogramthatusesparticularfacilitiesinaparticularlanguage.ExamplesofsystemfacilitiesthathavehadlanguagebindingsdevelopedforthemareGKS,NDL,andSQL(seeSection1.3,References).Itisanticipatedthatfurtherlanguagebindingdevelopmentwillberequired.Somesystemfacilitiescurrentlybeingstandardizedhavenolanguagebindingsandadditionalsystemfacilitieswillbestandardized.Thereisapossibilityofnxmlanguagebindings,wherenisthenumberoflanguagesandmthenumberofsystemfacilities.Thescopeofthisdocumentistoclassifylanguagebindingmethods,reportingonparticularinstancesindetail,andtoproducesuggestedguidelinesforfuturelanguagebindingstandards.Notethatthelanguagebindingsandtheabstractfacilityinterfacesmusthaveacompatibleruntimerepresentation,buttheabstractfacilitydoesnotnecessarilyhavetobewritteninthehostlanguage.Forexample,iftheapplicationprogramisusingaPascallanguagebindingandthecorrespondingfacilityiswritteninFORTRAN,theremustbeacompatibleruntimerepresentationinthatoperatingenvironment.Howthiscompatibilityisachievedisoutsidethescopeoftheseguidelines.Thisisgenerallyapropertyoftheoperatingenvironmentdefinedbytheimplementor,andisreviewedbrieflyinthisdocument.
【中国标准分类号】:L74
【国际标准分类号】:35_060
【页数】:
【正文语种】:其他