Code generation and execution for dynamic programming languages
    1.
    发明授权
    Code generation and execution for dynamic programming languages 有权
    动态编程语言的代码生成和执行

    公开(公告)号:US08943474B1

    公开(公告)日:2015-01-27

    申请号:US13658996

    申请日:2012-10-24

    CPC classification number: G06F9/4552

    Abstract: A device receives programming code, corresponding to a dynamic programming language, that is to be executed by a computing environment, and executes the programming code. When executing the programming code, the device maintains a program counter that identifies an execution location within the programming code, and select blocks of the programming code based on the program counter. The blocks correspond to segments of the programming code, and are associated with type-based constraints that relate to types of variables that are used by the block. When executing the programming code, the device also compiles the selected blocks, caches the compiled blocks along with the type-based constraints, generates linking information between certain ones of the compiled blocks based on the type-based constraints, and executes the compiled blocks in an order based on the program counter, the type-based constraints, and the linking information.

    Abstract translation: 设备接收与计算环境执行的动态编程语言对应的编程代码,并执行编程代码。 当执行编程代码时,设备维护编程代码中的执行位置的程序计数器,并根据程序计数器选择编程代码块。 这些块对应于编程代码的段,并且与与块使用的变量的类型相关联的基于类型的约束相关联。 当执行编程代码时,设备还编译所选择的块,将编译块与基于类型的约束一起缓存,基于基于类型的约束在某些编译块之间生成链接信息,并且执行编译块 基于程序计数器的顺序,基于类型的约束和链接信息。

Patent Agency Ranking