Compositional application programming interface and literal syntax
First Claim
Patent Images
1. A computer-readable storage medium having computer-executable components stored thereon, the computer-executable components comprising:
- an imperative application programming interface (API); and
a wrapper component configured to provide a compositional interface to the imperative API to enable expressions of the imperative API to be declared via the wrapper component in an order restricted by the imperative API, the wrapper component further configured to facilitate generating the expressions by reordering a calling of the expressions from the order restricted by the imperative API to a manner acceptable with the imperative API a constructor component configured to enable context free element instance declaration, wherein the constructor component is configured to capture element declarations as functions that accept context.
2 Assignments
0 Petitions
Accused Products
Abstract
A compositional application programming interface (API) permits non-sequential construct declaration independent of other API calls. A wrapper is applied to an imperative API to provide a compositional interface that enables arbitrary and autonomous construct declaration. Additionally, a literal syntax (e.g., code literals, graphic literals . . . ) affords a convenient declaration mechanism for such constructs.
-
Citations
18 Claims
-
1. A computer-readable storage medium having computer-executable components stored thereon, the computer-executable components comprising:
-
an imperative application programming interface (API); and a wrapper component configured to provide a compositional interface to the imperative API to enable expressions of the imperative API to be declared via the wrapper component in an order restricted by the imperative API, the wrapper component further configured to facilitate generating the expressions by reordering a calling of the expressions from the order restricted by the imperative API to a manner acceptable with the imperative API a constructor component configured to enable context free element instance declaration, wherein the constructor component is configured to capture element declarations as functions that accept context. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A computer programming method, comprising;
-
receiving a program specified with aid from a compositional wrapping of an imperative application programming interface (API), wherein the compositional wrapping facilitates a generation of expressions by reordering a calling of the expressions from an order restricted by the imperative API to a manner acceptable with the imperative API using a constructor component enabling context free element instance declaration, wherein the constructor component is configured to capture element declarations as functions that accept context; and executing the program to generate another program. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16)
-
-
17. A computer-readable storage medium, comprising:
computer-readable instructions, the computer-readable instructions including instructions for causing at least one processor to perform the following acts; providing programmatic support for code generation that separates object declaration from object building, wherein the providing comprises converting an imperative application programming interface (API) into a compositional API to facilitate generating expressions by reordering a calling of the expressions from an order restricted by the imperative API to a manner acceptable with the imperative API using a constructor component enabling context free element instance declaration, wherein the constructor component is configured to capture element declarations as functions that accept context; and specifying code to be generated literally. - View Dependent Claims (18)
Specification