Incremental compiler
    2.
    发明授权
    Incremental compiler 失效
    增量编译器

    公开(公告)号:US5204960A

    公开(公告)日:1993-04-20

    申请号:US462502

    申请日:1990-01-08

    IPC分类号: G06F9/45

    CPC分类号: G06F8/48

    摘要: A system and method of incrementally coupling a high level language into an object file is disclosed. A source file and an object file are organized into logical blocks. An intermediate file, termed an .mdt file, is generated and stores information about the logical blocks in both the source file and the object file and their relationship to each other. Boundaries are established in the source program to define logical blocks within it, each block being termed a function. Each function is further divided into a global region and a local region. If a change has been made in a particular local region in the source file, only that region is recompiled. The recompiled portion of the .obj file is patched into the .obj file to replace the previous material corresponding to that region. Significant time savings is realized by incrementally compiling the source program because only those local regions which have been changed are recompiled and they are patched into the existing .obj file.

    摘要翻译: 公开了一种将高级语言递增地耦合到目标文件中的系统和方法。 源文件和目标文件被组织成逻辑块。 生成称为.mdt文件的中间文件,并在源文件和目标文件中存储有关逻辑块的信息及其彼此之间的关系。 在源程序中建立边界以在其中定义逻辑块,每个块被称为函数。 每个功能进一步分为全局区域和局部区域。 如果在源文件中的特定本地区域进行了更改,则仅重新编译该区域。 .obj文件的重新编译部分被修补到.obj文件中以替换与该区域相对应的以前的材料。 通过逐步编译源程序可以节省大量时间,因为只有重新编译已更改的本地区域,并将它们修补到现有的.obj文件中。