-
公开(公告)号:US20170031662A1
公开(公告)日:2017-02-02
申请号:US15302290
申请日:2014-05-27
Applicant: Hewlett Packard Enterprise Development LP
Inventor: Amit BEZALEL , Elad BENEDICT , Ohad ASSULIN
IPC: G06F9/45
Abstract: Examples relate to providing distributed compilation of statically typed languages. In some examples, first order dependencies of a target module are identified, where each of the first order dependencies is associated with one of a number of dependent modules. Next, each first order dependency of is traversed to remove code references from source code of a corresponding module of the plurality of dependent modules, where each of the code references refers to a type defined in an indirect dependency of the target module, and compile the source code of the corresponding module to generate a module stub of a number of module stubs. At this stage, source code of the target module is compiled using the module stubs to generate a target program.
Abstract translation: 示例涉及提供静态类型语言的分布式编译。 在一些示例中,识别目标模块的一阶依赖性,其中第一阶依赖性中的每一个与多个依赖模块中的一个相关联。 接下来,遍历每个第一顺序依赖性以从多个依赖模块的相应模块的源代码中移除代码引用,其中每个代码引用是指以目标模块的间接依赖性定义的类型,并且编译 相应模块的源代码生成一个模块存根的模块存根。 在这个阶段,使用模块存根来编译目标模块的源代码来生成目标程序。