Executing multiple child code blocks via a single compiled parent code block
First Claim
1. A computer-implemented method for compiling one or more code blocks written in a programming language, the method comprising:
- providing a display associated with an application, wherein the display comprises a plurality of graphical objects;
determining that each of the plurality of graphical objects is associated with a child code block in a one-to-one association between the graphical objects and the child code blocks, wherein each child code block is written in a programming language;
transforming the child code blocks associated with the plurality of graphical objects into a single parent code block, wherein the parent code block, upon compiling, is configured to be reused across execution contexts and to allow injection of a global scope, wherein the parent code block, upon a specific execution, comprises an execution context for a specified child code block, and wherein the parent code block is configured to receive an indication of the specified child code block for initiating execution of the parent code block; and
compiling the parent code block.
2 Assignments
0 Petitions
Accused Products
Abstract
Systems and methods for compiling one or more code blocks written in programming language are provided. In some aspects, display associated with application is provided. Display includes plurality of graphical objects. That each of plurality of graphical objects is associated with child code block in one-to-one association between graphical objects and child code blocks is determined. Each child code block is written in programming language. The child code blocks associated with plurality of graphical objects are transformed into single parent code block. Parent code block, upon compiling, is configured to be reused across execution contexts and to allow injection of global scope. Parent code block, upon specific execution, includes execution context for specified child code block. Parent code block is configured to receive indication of specified child code block for initiating execution of parent code block. Parent code block is compiled.
-
Citations
26 Claims
-
1. A computer-implemented method for compiling one or more code blocks written in a programming language, the method comprising:
-
providing a display associated with an application, wherein the display comprises a plurality of graphical objects; determining that each of the plurality of graphical objects is associated with a child code block in a one-to-one association between the graphical objects and the child code blocks, wherein each child code block is written in a programming language; transforming the child code blocks associated with the plurality of graphical objects into a single parent code block, wherein the parent code block, upon compiling, is configured to be reused across execution contexts and to allow injection of a global scope, wherein the parent code block, upon a specific execution, comprises an execution context for a specified child code block, and wherein the parent code block is configured to receive an indication of the specified child code block for initiating execution of the parent code block; and compiling the parent code block. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15)
-
-
16. A machine-readable medium encoded with executable instructions for preparing for compiling of one or more code blocks written in a programming language, the instructions comprising code for:
-
determining that each of a plurality of graphical objects is associated with a child code block in a one-to-one association between the graphical objects and the child code blocks, wherein each child code block is written in a programming language, and wherein the plurality of graphical objects are displayed within a window of an application; and transforming the child code blocks associated with the plurality of graphical objects into a single parent code block, wherein the parent code block, upon compiling, is configured to be reused across execution contexts and to allow injection of a global scope, wherein the parent code block, upon a specific execution, comprises an execution context for a specified child code block, and wherein the parent code block is configured to receive an indication of the specified child code block for initiating execution of the parent code block. - View Dependent Claims (17, 18, 19, 20, 21, 22, 23)
-
-
24. A system for compiling one or more modules written in a programming language, the system comprising:
-
one or more processors; and a memory comprising instructions which, when executed by the one or more processors, cause the one or more processors to; provide a display associated with an application, wherein the display comprises a plurality of graphical objects; determine that each of the plurality of graphical objects is associated with a child code block in a one-to-one association between the graphical objects and the child code blocks, wherein each child code block is written in a programming language, wherein each child code block shares an identical base library or overlapping code with each other child code block, and wherein the identical base library or overlapping code comprises one or more functions; transform the child code blocks associated with the plurality of graphical objects into a single parent code block, wherein the parent code block, upon compiling, is configured to be reused across execution contexts and to allow injection of a global scope, wherein the parent code block, upon a specific execution, comprises an execution context for a specified child code block, and wherein the parent code block is configured to receive an indication of the specified child code block for initiating execution of the parent code block; and compile the parent code block. - View Dependent Claims (25, 26)
-
Specification