-
公开(公告)号: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用于代码生成,在那里它们被转换成目标语言(例如,可以在硬件上执行的代码流)。 然后,可执行代码作为程序集的一部分存储。 代码的存储也可以并行执行。