Method and system for generating a computer program
First Claim
1. One or more computer readable media comprising computer executable instructions that, when executed, direct a computer to implement a method comprising:
- receiving multiple nodes of a program tree as user-selected node inputs, each of the nodes specifying a declaration pointer and an operand pointer to another node;
storing the multiple nodes of the program tree that is a syntax-independent representation of a computer program such that the declaration pointers and the operand pointers interconnect the nodes to form the program tree;
identifying a syntax-independent programming intent represented as a first of the multiple nodes of the program tree;
identifying a second of the multiple nodes of the program tree, the second node being referenced from the first node and containing data; and
generating a unique name for the computer program represented by the Syntax-independent programming intent.
1 Assignment
0 Petitions
Accused Products
Abstract
A method and system is described for generating executable code for a computer program. A programmer creates an intentional program tree using a syntax-independent editor. The editor allows a programmer to directly manipulate the intentional program tree. The intentional program tree has nodes. Each node represents a high-level computational construct of the computer program. For each node representing a high-level computational construct, the system transforms the node into an implementation of the high-level computational construct using low-level computational constructs. For each node representing a low-level computational construct, the system generates executable code that implements the low-level computational construct. The system further provides that where a high-level computational construct has a plurality of implementations of the high-level computational construct, the system transforms the nodes by selecting one of the implementations and transforms the node in accordance with the selected implementation. The system further provides that the implementation is selected by automatically analyzing semantics of the intentional program tree.
-
Citations
12 Claims
-
1. One or more computer readable media comprising computer executable instructions that, when executed, direct a computer to implement a method comprising:
-
receiving multiple nodes of a program tree as user-selected node inputs, each of the nodes specifying a declaration pointer and an operand pointer to another node;
storing the multiple nodes of the program tree that is a syntax-independent representation of a computer program such that the declaration pointers and the operand pointers interconnect the nodes to form the program tree;
identifying a syntax-independent programming intent represented as a first of the multiple nodes of the program tree;
identifying a second of the multiple nodes of the program tree, the second node being referenced from the first node and containing data; and
generating a unique name for the computer program represented by the Syntax-independent programming intent. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A method of handling data, comprising:
-
receiving multiple nodes of a hierarchical tree that is a syntax-independent representation of a computer program, each of the nodes received as user-selected node inputs that specify a declaration pointer and an operand pointer to another node;
storing the multiple nodes as a data structure such that the declaration pointers and the operand pointers interconnect the nodes to form the hierarchical tree;
reading a syntax-independent programming intent represented as a first of the multiple nodes of the hierarchical tree;
identifying a second of the multiple nodes of the hierarchical tree, the second node being referenced from the first node and containing data; and
generating a unique name for the computer program represented by the syntax-independent programming intent. - View Dependent Claims (10, 11, 12)
-
Specification