Computer Language Syntax for Automatic Callback Function Generation
OwnerJoseph Raymond Hewittinventor
Life of this patent
Estimating the term…
Abstract
In one embodiment, a compiler parses a function call that invokes a function and a first symbol associated with the function call; and in response to the first symbol, generates a first set of code that, when executed, determines whether the function is associated with an activity; and if the function is associated with an activity, then: creates a first callback function for the activity; and associates the first callback function with the activity so that the first callback function is automatically invoked when the activity is completed.
Claims16
A method comprising:
- parsing, by a compiler, a function call that invokes a function and a first symbol associated with the function call;
- and
- in response to the first symbol, generating, by the compiler, a first set of code that, when executed,
- determines whether the function is associated with an activity;
- and
- if the function is associated with an activity, then:
- creates a first callback function for the activity;
- and
- associates the first callback function with the activity so that the first callback function is automatically invoked when the activity is completed.
A compiler embodied as software stored in computer-readable non-transitory media, wherein the compiler is operable when executed by one or more computer systems to:
- parse a function call that invokes a function and a first symbol associated with the function call;
- and
- in response to the first symbol, generate a first set of code that, when executed, determines whether the function is associated with an activity;
- and
- if the function is associated with an activity, then:
- creates a first callback function for the activity;
- and
- associates the first callback function with the activity so that the first callback function is automatically invoked when the activity is completed.
The compiler of claim 9, wherein the compiler is further operable when executed by the one or more computer systems to:
- parse a second symbol associated with the function call, wherein the function is associated with the activity;
- and
- in response to the second symbol, generate a second set of code that, where executed,
- displays a progress indicator associated with the activity;
- creates a second callback function for the progress indicator;
- and
- associated with second callback function with the progress indicator so that the second callback function is automatically invoked when an amount of the activity that has been completed changes.
The compiler of claim 9, wherein the compiler is further operable when executed by the one or more computer systems to:
- parse a variable assignment that assigns a value to a variable and a second symbol associated with the variable assignment;
- and
- in response to the second symbol, generate a second set of code that, when executed,
- creates a second callback function for the variable;
- and
- associates the second callback function with the variable so that the second callback function is automatically invoked when the value of the variable changes.
The compiler of claim 9, wherein the compiler is further operable when executed by the one or more computer systems to:
- parse a user-interface component, a second callback function, and a second symbol associated with the user-interface component;
- and
- in response to the second symbol, generate a second set of code that, when executed,
- associates the second callback function with the user-interface component so that the second callback function is automatically invoked when a condition indicated by the second symbol is satisfied in connection with the user-interface component.
A system comprising:
- a memory comprising instructions executable by one or more processors;
- and
- the one or more processors coupled to the memory and operable to execute the instructions, the one or more processors being operable when executing the instructions to:
- parse a function call that invokes a function and a first symbol associated with the function call;
- and
- in response to the first symbol, generate a first set of code that, when executed,
- determines whether the function is associated with an activity;
- and
- if the function is associated with an activity, then:
- creates a first callback function for the activity;
- and
- associates the first callback function with the activity so that the first callback function is automatically invoked when the activity is completed.
One or more computer-readable tangible storage media embodying software operable when executed by one or more computer systems to:
- parse a function call that invokes a function and a first symbol associated with the function call;
- and
- in response to the first symbol, generate a first set of code that, when executed,
- determines whether the function is associated with an activity;
- and
- if the function is associated with an activity, then:
- creates a first callback function for the activity;
- and
- associates the first callback function with the activity so that the first callback function is automatically invoked when the activity is completed.
Dependencies are inferred from the claim text.