首页> 外国专利> PROJECTION OF OWN INTERFACES OF APPLIED PROGRAMMING OF OPERATION SYSTEM IN OTHER PROGRAMMING LANGUAGES

PROJECTION OF OWN INTERFACES OF APPLIED PROGRAMMING OF OPERATION SYSTEM IN OTHER PROGRAMMING LANGUAGES

机译:在其他编程语言中对操作系统应用程序编程的自已接口的投影

摘要

1. A computer-implemented process comprising: receiving into memory metadata describing the application programming interfaces of an operating system; receiving an indication of a named element in a program in a programming language that refers to an element of one of the application programming interfaces; Using metadata, project a named element of an application programming interface. 2. The computer-implemented process of claim 1, wherein the projection comprises, when compiling the program, creating code that creates one or more elements, and marshaling the data for the created elements according to type. The computer-implemented process of claim 1, wherein the projection comprises, when interpreting the program, creating code that creates one or more elements, and marshaling the data for the created elements according to type. The computer-implemented process of claim 1, wherein the projection comprises marshaling data between the representation of the operating system and the representation of the application according to type. The computer-implemented process of claim 1, wherein the projection comprises projecting an interface including methods, properties, and events. A computer comprising: one or more processors; one or more computer storage media; computer program instructions stored in a computer storage medium that, when processed by a processing device, implement language projection between operating system application programming interfaces and programming language applications; in which the interfaces application programming are described by metadata stored in
机译:1.一种计算机实现的过程,包括:将描述操作系统的应用程序编程接口的元数据接收到存储器中;以编程语言接收程序中命名元素的指示,所述编程语言是指所述应用编程接口之一的元素;使用元数据,投影应用程序编程接口的命名元素。 2.根据权利要求1所述的计算机实现的过程,其中,所述投影包括:在编译程序时,创建创建一个或多个元素的代码,并根据类型对所创建的元素的数据进行编组。 2.根据权利要求1所述的计算机实现的过程,其中,所述投影包括:在解释程序时,创建创建一个或多个元素的代码,并根据类型对所创建的元素的数据进行编组。 2.根据权利要求1所述的计算机实现的过程,其中,所述投影包括根据类型在所述操作系统的表示与所述应用程序的表示之间编组数据。 2.根据权利要求1所述的计算机实现的过程,其中,所述投影包括投影包括方法,属性和事件的界面。一种计算机,包括:一个或多个处理器;一种或多种计算机存储介质;存储在计算机存储介质中的计算机程序指令,该计算机程序指令在由处理设备处理时,在操作系统应用程序编程接口和编程语言应用程序之间实现语言投影;其中接口应用程序编程由存储在其中的元数据描述

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号