-
公开(公告)号:WO2012078350A2
公开(公告)日:2012-06-14
申请号:PCT/US2011/061700
申请日:2011-11-21
Applicant: MICROSOFT CORPORATION
Inventor: VILLADSEN, Peter , SIMONSEN, Karl , MACIAS, Marcos Calderon , GOTTUMUKKALA, Ramakanthachary
CPC classification number: G06F8/316
Abstract: Customization of source code of a software program like a business application is enabled without modifying the source code of the software. External pieces of source code may be executed prior to, and/or following the invocation of selected methods. The external methods executed prior to a designated method call may change the parameter values that the designated method gets called with, and the methods executed after the designated method has been called may change a value returned from the designated method.
Abstract translation:
无需修改软件的源代码即可启用业务应用程序等软件程序的源代码定制。 源代码的外部片段可以在调用所选方法之前和/或之后执行。 在指定方法调用之前执行的外部方法可能会改变调用指定方法的参数值,并且调用指定方法后执行的方法可能会改变从指定方法返回的值。 p>
-
公开(公告)号:WO2014193869A1
公开(公告)日:2014-12-04
申请号:PCT/US2014/039643
申请日:2014-05-28
Applicant: MICROSOFT CORPORATION
Inventor: VILLADSEN, Peter , PLANCARTE, Gustavo , DUTTA, Tanmoy
IPC: G06F9/45
Abstract: Abstract Syntax Trees (ASTs) are generated using the source code of a programming language that include information relating to the structure of the program. The generation of the ASTs may be performed in parallel. The types are split into a number of modules (e.g. configurable) that form an assembly. During the different stages of the compilation process, each module may be compiled in parallel. As the different modules are being compiled (e.g. in parallel), compiler metadata from the different modules may be written to a repository accessible by the different compilation processes. After flowing through the compilation pipeline, each of the enriched ASTs are used for code generation where they are transformed into the target language (e.g. a code stream that can be executed on hardware). The executable code is then stored as part of the assembly. The storage of the code may also be performed in parallel.
Abstract translation: 抽象语法树(AST)是使用包含与程序结构有关的信息的编程语言的源代码生成的。 AST的产生可以并行执行。 这些类型被分成多个形成组件的模块(例如可配置的)。 在编译过程的不同阶段,每个模块可以并行编译。 由于正在编译不同的模块(例如并行),来自不同模块的编译器元数据可被写入可由不同编译过程访问的存储库。 在流经编译流水线之后,每个富集的AST用于代码生成,在那里它们被转换成目标语言(例如,可以在硬件上执行的代码流)。 然后,可执行代码作为程序集的一部分存储。 代码的存储也可以并行执行。
-