发明名称 HOSTABLE COMPILER UTILIZING TYPE INFORMATION FROM A HOST APPLICAITION
摘要 A hostable compiler interacts with a host application to enable the host application to execute program code supported by the hostable compiler. The host application and the hostable compiler exchange data through an interface that allows the hostable compiler to receive type information pertaining to data elements used applications executing within the host application process. This type information may then be used by the hostable compiler in the compilation of source code to infer a type for data elements used in the source code that are not declared yet associated with a value of an expression used in an application executed within the host application process.
申请公布号 US2017115971(A1) 申请公布日期 2017.04.27
申请号 US201715401497 申请日期 2017.01.09
申请人 MICROSOFT TECHNOLOGY LICENSING LLC. 发明人 PAMER JOSEPH
分类号 G06F9/45 主分类号 G06F9/45
代理机构 代理人
主权项 1. A computer-implemented method, comprising: obtaining a type, the type associated with a value of an expression used in a first program code hosted by a host application; inferring a type for a value of an expression used in a second program code based on a type for the value of an expression used in the first program code, the value of the expression used in the second program code not associated with a type, the first program code differs from the second program code, the second program code hosted by the host application; and compiling the second program code into compiled code.
地址 REDMOND WA US