Expression editor
First Claim
1. A computer-implemented method for editing an expression, comprising:
- displaying a graphical representation of a tree that represents the expression, containing;
a root node that includes a first operator of the expression;
a plurality of internal nodes that include a plurality of operators of the expression; and
a plurality of leaf nodes that include a plurality of operands of the expression;
displaying a plurality of symbols, adjacent to the plurality of operands in the tree, the plurality of symbols and the plurality of operands representing the expression in infix notation;
receiving user input indicating a change to a first portion of a user interface;
updating a second portion of the user interface based on the received user input; and
displaying the updated second portion of the user interface.
11 Assignments
0 Petitions
Accused Products
Abstract
A prefix expression tree showing an expression can be supplemented to also display the expression in infix notation. In one embodiment, the present invention includes displaying an expression being capable of representation in infix and prefix notation in prefix expression tree format. In one embodiment, the expression includes a plurality of operators and operands, and the plurality of operands make up the leaves of the expression tree. In one embodiment, the present invention further includes inserting a plurality of infix operators corresponding with the plurality of operators into the prefix expression tree, wherein, the plurality of operands and infix operators represent the expression in infix notation.
-
Citations
23 Claims
-
1. A computer-implemented method for editing an expression, comprising:
-
displaying a graphical representation of a tree that represents the expression, containing; a root node that includes a first operator of the expression; a plurality of internal nodes that include a plurality of operators of the expression; and a plurality of leaf nodes that include a plurality of operands of the expression; displaying a plurality of symbols, adjacent to the plurality of operands in the tree, the plurality of symbols and the plurality of operands representing the expression in infix notation; receiving user input indicating a change to a first portion of a user interface; updating a second portion of the user interface based on the received user input; and displaying the updated second portion of the user interface. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17)
-
-
18. A computer-readable medium storing instructions for editing an expression, the instructions executable by a processor for performing a set of operations comprising:
-
displaying a graphical representation of a tree that represents the expression, containing; a root node that includes a first operator of the expression; a plurality of internal nodes that include a plurality of operators of the expression; and a plurality of leaf nodes that include a plurality of operands of the expression; displaying a plurality of symbols, adjacent to the plurality of operands in the tree, the plurality of symbols and the plurality of operands representing the expression in infix notation; receiving user input indicating a change to a first portion of a user interface; updating a second portion of the user interface based on the received user input; and displaying the updated second portion of the user interface. - View Dependent Claims (19, 20)
-
-
21. A computer system for editing an expression, comprising:
-
a display device configured to display; a graphical representation of a tree that represents the expression, containing; a root node that includes a first operator of the expression; a plurality of internal nodes that include a plurality of operators of the expression; and a plurality of leaf nodes that include a plurality of operands of the expression; and
, additionally,a plurality of symbols, adjacent to the plurality of operands in the tree, the plurality of symbols and the plurality of operands representing the expression in infix notation; an input device configured to accept user input; and a processor, coupled to the display device and to the input device, configured; responsive to user input indicating a change to a first portion of a user interface, to update a second portion of the user interface based on the received user input. - View Dependent Claims (22, 23)
-
Specification