8631323

Updating the Display Treatment of Source Code Based on a Real Time Semantic and Syntactic Analysis

PublishedJanuary 14, 2014
Assigneenot available in USPTO data we have
Technical Abstract

Patent Claims
21 claims

Legal claims defining the scope of protection, as filed with the USPTO.

1

1. In a computing environment, a method for treating display characteristics of input displayed via a user interface in real time, the method comprising: displaying a first input received via the user interface in real time, wherein the first input includes source code that has at least local variables and global variables, wherein the local variables have a scope that is restricted to a portion of the first input and the global variables have a scope corresponding to all of the first input, applying a display treatment to at least the source code included in the first input, wherein the display treatment is displayed via the user interface; receiving a second input from the user interface, wherein the second input includes at least one character; determining a new state of both the first input and the second input after receiving the second input in real time, wherein determining a new state includes determining a scope of the second input relative to the previously received first input from the user interface including the local variables and the global variables; updating the display treatment based on the new state of both the first input and the second input, wherein adjustments in the display treatment are applied to both the first input and the second input as each character is received from the user interface, wherein changes relevant to the new state of the first input and the second input including changes to the local variables and the global variables are reflected in the display treatment, and wherein the display treatment is adjusted based on a syntactic and a semantic analysis performed on all the source code including the source code included in the first input and the source code included in the second input.

2

2. The method of claim 1 , further comprising categorizing the first input and the second input into at least one category, wherein categorizing the first input and the second input into at least one category includes identifying the global variables and all locations within the scope of the first input and the second input at which each global variable is declared, referenced or used.

3

3. The method of claim 2 , wherein categorizing the first input and the second input includes categorizing the first input and the second input as at least one of words which are misspelled, as context-specific styling, as global variables which have no value assigned, as variables made special by use in functions, as local variables, function arguments, and as pattern names.

4

4. The method of claim 2 , wherein updating the display treatment includes applying a color corresponding to each category.

5

5. The method of claim 1 , further comprising determining whether a global evaluation event has occurred and analyzing a global scope of the first input and the second input to categorize the first input and the second input into at least a global variable category.

6

6. The method of claim 1 , wherein performing the syntactic and the semantic analysis includes parsing the first input and the second input into functions and variables and determining the scope of the functions.

7

7. The method of claim 1 , wherein performing the syntactic and the semantic analysis includes parsing the first input and the second input into at least one of blocks and modules.

8

8. The method of claim 1 , wherein the first input and the second input is received from a front end and processed by a kernel, wherein the front end and the kernel operate as one of a stand alone application, a web based application, peer to peer application, or a server client application.

9

9. The method of claim 1 , wherein determining a new state of the first input and the second input includes one or more of: analyzing the first and the second input for context dependent keywords; analyzing the first and the second input for local variables in nesting sequences; analyzing the first and the second input for scope conflicts; or analyzing the first and the second input for argument counts.

10

10. The method of claim 1 , wherein: The first input and the second input include one or more of symbols, instance variables, class inheritance hierarchies, constants, enums, static variables, class variables, functions, procedures, values, independent strings, or any combination thereof; and determining a new state of both the first input and the second input includes performing an analysis on the first input and the second, wherein the analysis includes one or more of: analyzing the local variables and their relationships to global variables; focusing on a block level of the first input and the second input; identifying the availability of a variable; identifying potential issues; identifying compliance or errors; or any combination thereof.

11

11. In a computing environment, a method for treating display characteristics of input displayed via a user interface, the method comprising determining a state of a first input previously received from the user interface, wherein determining the state includes determining a scope of all the first input and wherein the first input includes first source code having at least local variables and global variables; applying display treatments to the first input; receiving a second input that includes second source code that is added to the first source code, wherein the second input includes characters; determining a new state of both the first input and the second input after receiving the second input, wherein determining the new state includes identifying a scope for the second input relative to the first input previously received from the user interface including the local variables and the global variables; categorizing the first input and the second input into a plurality of categories, the categories including at least functions and local variables and global variables, wherein the second input is categorized relative to the scope of the second input; updating the display treatments to reflect the information associated with the functions, the local variables and the global variables, wherein the display treatments are applied to the first input and the second input as each character in the second input is received from the user interface; and displaying the first input and the second input on a graphical display device with the display treatments on an output device, wherein changes in the display treatments are reflected in at least the second input, wherein the display treatments are adjusted based on a syntactic and a semantic analysis performed on all the source code including the source code included in the first input and the source code included in the second input.

12

12. The method of claim 11 , wherein categorizing the first input and the second input into a plurality of categories includes identifying the global variables and all locations within the scope of the first input and the second input at which each global variable is declared, referenced or used.

13

13. The method of claim 11 , wherein categorizing the first input and the second input includes categorizing the first input and the second input as at least one of words which are misspelled, as context-specific styling, as global variables which have no value assigned, as variables made special by use in functions, as local variables, function arguments, and as pattern names.

14

14. The method of claim 11 , wherein updating the display treatments includes applying a color corresponding to the function and local variable category.

15

15. The method of claim 11 , further comprising providing access to a user to select the display treatments to be associated with each category.

16

16. The method of claim 11 , wherein updating the display treatments further comprises one or more of: analyzing the first input and the second input for context dependent keywords; analyzing the first input and the second input for local variables in nesting sequences; analyzing first input and the second the input for scope conflicts; or analyzing first input and the second the input for argument counts.

17

17. A system, comprising: a user interface including an input device and a graphical output device; a front end; and a kernel, wherein the front end and the kernel are configured to cooperate to: determine a state of a first input previously received from the user interface, wherein the first input includes source code having at least local variables and global variables, each local variable and each global variable having a scope; apply at least one display treatment to the first input based on a semantic analysis and a syntactic analysis of the source code included in the first input; receive a second input from the user interface, the second input including source code and includes at least one character, wherein the second input is included with the first input, determine a new state of the first input and the second input, which includes a scope of the second input relative to the first input previously received from the user interface including the local variables and the global variables, wherein changes relevant to the new state include changes to the local variable and the global variables, categorize the first input and the second input into at least one category, and apply the at least one display treatment to the first input and the second input associated with the at least one category, wherein the display treatment is updated and applied as each character is received from the user interface and changes relevant to the new state of the first input and the second input are reflected in the at least one display treatment, wherein the at least one display treatment is updated and applied based on a syntactic and a semantic analysis performed on all the source code including the source code included in the first input and the source code included in the second input.

18

18. The system of claim 17 , wherein the system is further configured to identify the global variables and to apply a display treatment to the global variables.

19

19. The system of claim 17 , wherein the front end is further configured to serialize the at least one display treatment and to display the output in a graphical format on a graphical output device.

20

20. The system of claim 17 , wherein the wherein the front end and the kernel are configured to cooperate to apply the at least one display treatment that includes applying a color treatment to text.

21

21. The system of claim 17 , wherein the kernel determines the at least one display treatment by performing one or more of: analyzing the first input and the second input for context dependent keywords; analyzing the first input and the second input for local variables in nesting sequences; analyzing the first input and the second input for scope conflicts; or analyzing the first input and the second input for argument counts.

Patent Metadata

Filing Date

Unknown

Publication Date

January 14, 2014

Inventors

Theodore W. Gray

Want to explore more patents?

Browse 5M+ US patents with plain-English claim translations and AI-generated analysis.

Citation & reuse

Analysis on this page is generated by Patentable — an AI-powered patent intelligence platform. AI-generated summaries, explanations, and analysis may be reused with attribution and a visible link back to the canonical URL below. Patent abstracts and claims are USPTO public domain.

Cite as: Patentable. “UPDATING THE DISPLAY TREATMENT OF SOURCE CODE BASED ON A REAL TIME SEMANTIC AND SYNTACTIC ANALYSIS” (8631323). https://patentable.app/patents/8631323

© 2026 Patentable. All rights reserved.

Patentable is a research and drafting-assistant tool, not a law firm, and does not provide legal advice. Documents we generate are drafts for review by a licensed patent attorney.