Javascript application programming interfaces for independently compiled javascript binaries
First Claim
1. A system for interfacing a first compiled code of a first code with a second compiled code of a second code, comprising:
- a processor; and
at least one memory that stores the first compiled code and the second compiled code, wherein the first compiled code includes a first compiled object that corresponds to an original object in the first code, and includes a first application programming interface wrapper that associates the first compiled object with the original object, the first compiled object being assigned a first non-deterministic name when the processor compiles the first code to produce the first compiled code,the second compiled code includes a second compiled object that corresponds to a reference in the second code to the original object, and includes a second application programming interface wrapper that associates the second compiled object with the reference, andwhen the second compiled object in the second compiled code is executed, the second compiled code is configured to call the second application programming interface wrapper, the second application programming interface wrapper is configured to proxy the call to the first application programming interface wrapper via the reference, and the first application programming interface wrapper is configured to use the first non-deterministic name to proxy the call to the first compiled object in the first compiled code.
2 Assignments
0 Petitions
Accused Products
Abstract
Systems, servers, methods, and media for interfacing first compiled code of first code with second compiled code of second code are provided. The first compiled code includes a first compiled object that corresponds to an original object in the first code, and includes a first API wrapper that associates the first compiled object with the original object. The second compiled code includes a second compiled object that corresponds to a reference in the second code to the original object, and includes a second API wrapper that associates the second compiled object with the reference. When the second compiled object in the second compiled code is executed, the second compiled code calls the second API wrapper, the second API wrapper proxies the call to the first API wrapper, and the first API wrapper proxies the call to the first compiled object in the first compiled code.
-
Citations
21 Claims
-
1. A system for interfacing a first compiled code of a first code with a second compiled code of a second code, comprising:
-
a processor; and at least one memory that stores the first compiled code and the second compiled code, wherein the first compiled code includes a first compiled object that corresponds to an original object in the first code, and includes a first application programming interface wrapper that associates the first compiled object with the original object, the first compiled object being assigned a first non-deterministic name when the processor compiles the first code to produce the first compiled code, the second compiled code includes a second compiled object that corresponds to a reference in the second code to the original object, and includes a second application programming interface wrapper that associates the second compiled object with the reference, and when the second compiled object in the second compiled code is executed, the second compiled code is configured to call the second application programming interface wrapper, the second application programming interface wrapper is configured to proxy the call to the first application programming interface wrapper via the reference, and the first application programming interface wrapper is configured to use the first non-deterministic name to proxy the call to the first compiled object in the first compiled code. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A computer-implemented method for interfacing between a first compiled code of a first code and a second compiled code of a second code, comprising:
-
generating, with at least one processor, a first application programming interface wrapper that associates a first compiled object in the first compiled code with an original object in the first code, the first compiled object being assigned a first non-deterministic name the first code is compiled to produce the first compiled code; and generating, with the at least one processor, a second application programming interface wrapper that associates a second compiled object in the second compiled code with a reference in the second code to the original object in the first code, wherein, when the second compiled object in the second compiled code is executed, the second compiled code is configured to call the second application programming interface wrapper, the second application programming interface wrapper is configured to proxy the call to the first application programming interface wrapper via the reference, and the first application programming interface wrapper is configured to use the first non-deterministic name to proxy the call to the first compiled object in the first compiled code. - View Dependent Claims (12, 13, 14, 15, 16, 17)
-
-
18. A non-transitory computer-readable medium including an executable second compiled code of a second code for interfacing with a first compiled code of a first code, the executable second compiled code comprising:
-
a second compiled object that corresponds to a reference in the second code to an original object in the first code; and a second application programming interface wrapper that associates the second compiled object with the reference wherein, a non-deterministic name is assigned to the second compiled object when the second code is compiled to produce the second compiled code, and when the second compiled object in the second compiled code is executed, the second compiled code is configured to call the second application programming interface wrapper, and the second application programming interface wrapper is configured to use the non-deterministic name to proxy the call to a first application programming interface wrapper of the first compiled code for proxying the call from the first application programming interface wrapper via the reference to a first compiled object in the first compiled code that corresponds to the original object in the first code. - View Dependent Claims (19, 20, 21)
-
Specification