Graphical representation of data in a program code editor
AssigneeApple Inc.
InventorsMax Drukman, Kenneth S. Orr, Sam Page, Behzad Aghaei, Chris Lattner
Life of this patent
Estimating the term…
Abstract
In one embodiment, non-transitory computer-readable medium stores instructions for implementing a source code editor within an integrated development environment. The instructions to cause one or more processors to implement a method comprising receiving data at a source code editor, the data representing a data value to be used by source code displayed by the source code editor, inserting the data representing the data value into the source code, and displaying a graphical representation of the data value in the source code editor, the graphical representation displayed within a program code statement associated with the data value.
Claims18
A computer implemented method comprising:
- receiving literal data at a source code editor, the literal data representing a literal data value for use by source code displayed by the source code editor and the literal data includes a graphical representation of the literal data value;
- inserting the literal data representing the literal data value into the source code;
- displaying the graphical representation of the literal data value in the source code editor, the graphical representation displayed within a program code statement associated with the literal data value, wherein the graphical representation is an image and the graphical representation is generated by a front-end compiler;
- automatically compiling, with a back-end compiler, the program code statement associated with the literal data value after inserting the literal data representing the literal data value into the source code;
- and
- displaying output of the program code statement associated with the literal data value within the source code editor.
A system comprising:
- one or more processors;
- and
- a non-transitory computer readable medium comprising instructions which, when executed by the one or more processors, cause the one or more processors to:
- execute a source code editor, the source code editor to display a source code listing of program code;
- receive literal data at the source code editor, the literal data representing a literal data value to be used by the program code and the literal data includes a graphical representation of the literal data value;
- insert the literal data representing the literal data value into the source code;
- display a graphical representation of the literal data value in the source code editor, the graphical representation displayed within a program code statement associated with the literal data value, wherein the graphical representation is an image and the graphical representation is generated by a front-end compiler;
- automatically compile, with a back-end compiler, the program code statement associated with the literal data value after inserting the literal data representing the literal data value into the source code;
- and
- display output of the program code statement associated with the literal data value within the source code editor.
A non-transitory computer-readable medium with instructions stored therein, the instructions, when executed by a processor, cause the processor to perform operations, the operations comprising:
- receiving literal data at a source code editor, the literal data representing a data value to be used by source code displayed by the source code editor and the literal data includes a graphical representation of the literal data value;
- encoding a representation of the literal data received at the source code editor into an encoded representation of the data value;
- inserting the encoded representation of the data value into the source code;
- displaying a graphical representation of the data value in the source code editor in place of the encoded representation, the graphical representation displayed within a program code statement associated with the data value, wherein the graphical representation is an image and the graphical representation is generated by a front-end compiler;
- automatically compiling, with a back-end compiler, the program code statement associated with the literal data value after inserting the literal data representing the literal data value into the source code;
- and
- displaying output of the program code statement associated with the literal data value within the source code editor.
Dependencies are inferred from the claim text.