Speculative compilation
First Claim
1. A method for use in developing a program, comprising compiling at least a portion of a source code program defined by a waypoint during the editing of the source code program.
3 Assignments
0 Petitions
Accused Products
Abstract
The invention is a method and apparatus for use in developing a program. More particularly, a method and apparatus for compiling a source code program during editing of the same is disclosed, where editing can be initial entry or modification subsequent to initial entry. The method comprises compiling at least a portion of a source code program defined by a waypoint during the editing of the source code program. In other aspects, the invention includes a program storage medium encoded with instructions that, when executed, perform this method and a computer programmed to perform this method. The apparatus includes a computing apparatus, comprising a text editor through which a source code program may be entered; and a compiler that may compile the source code program. The control block is capable of determining at least one waypoint in the source code program and invoking the compiler to compile the source code program up to the waypoint.
-
Citations
53 Claims
- 1. A method for use in developing a program, comprising compiling at least a portion of a source code program defined by a waypoint during the editing of the source code program.
-
8. A method for use in developing a program, comprising:
-
identifying a waypoint in an edited source code program during editing of the source code program; and
compiling the source code program up to the identified waypoint before completing editing of the source code program. - View Dependent Claims (9, 10, 11)
-
-
12. A method for modifying a compiler to engage in rapid compilation, comprising:
-
identifying a file reader portion of the compiler; and
modifying the identified file reader to read a portion of a source code program defined by a waypoint from a standard input open - View Dependent Claims (13, 14, 15, 16, 17)
-
-
18. A method for suspending compiler execution prior to reaching the end of a source code program, comprising:
-
identifying a waypoint in the source code program;
compiling a portion of the source code program whose lower bound is defined by the identified waypoint; and
suspending compilation of the source code program once the portion whose lower bound is identified by the waypoint is compiled. - View Dependent Claims (19, 20, 21)
-
-
22. A method for resuming compiler execution of a suspended compilation, comprising:
-
triggering the compilation of a portion of a source code program whose upper bound is defined by an identified waypoint; and
compiling the portion of the source code program whose upper bound is defined by the identified waypoint. - View Dependent Claims (23)
-
-
24. A method for identifying a command and associating it with a file that is being edited, comprising:
-
modifying a file reader of a compiler to read from a standard input; and
triggering the compilation of a portion of a source code program whose upper bound is defined by an identified waypoint;
invoking the compiler to read the file from the modified file reader through the standard input. - View Dependent Claims (25, 26, 27)
-
-
28. A method for building a source code program capable of suspending and resuming compilation, comprising:
-
identifying a waypoint in a source code program being edited;
triggering a compilation of a portion of the source code program defined by the waypoint;
compiling the portion of the source code program defined by the waypoint;
suspending the compilation of the portion defined by the waypoint once the compilation reaches the waypoint;
triggering the compilation of the remainder of the source code program; and
resuming the compilation of the source code program to compile the remainder. - View Dependent Claims (29, 30, 31, 32, 33)
-
-
34. A method for using a UNIX standard input read mechanism for speculative compilation of a source code program, comprising:
-
identifying a waypoint in an edited source code program during editing of the source code program; and
invoking a compile of at least a portion of a source code program defined by a waypoint during the editing of the source code program with a UNIX input read mechanism. - View Dependent Claims (35, 36, 37)
-
-
38. A method for managing the output of a compile, comprising:
-
compiling at least a portion of a source code program defined by a waypoint during the editing of the source code program in a first phase;
compiling the remainder of the source code program in a subsequent phase; and
notifying a user of any errors that may have occurred during the compilation. - View Dependent Claims (39, 40, 41, 42, 43)
-
-
44. A method for use in developing a program, comprising:
-
identifying at least two or more instructions in a file to compile; and
compiling the identified instructions while the file is being edited. - View Dependent Claims (45, 46, 47, 48, 49)
-
-
50. A method for compiling a source code program, comprising:
-
identifying an upper bound for a portion of the source code program to compile;
identifying a lower bound for the portion; and
compiling the portion defined by the upper and lower bounds during an editing session on the source code program. - View Dependent Claims (51, 52, 53)
-
Specification