Adaptive selection of programming language versions for compilation of software programs
First Claim
Patent Images
1. A method, comprising:
- at a computer system, obtaining;
a set of source code modules to be used in a software program;
a numeric range of versions for a programming language platform with which a compiler may compile, wherein the numeric range of versions may comprise supplemental alphanumeric characters, and wherein a version of the programming language platform outside of the numeric range of versions cannot be used and compiled by the compiler; and
ordering a numeric order between one or more older versions of the programming language platform and one or more newer versions of the programming language platform, wherein one or more versions of the programming language platform are to be used while compiling the source code modules; and
for each source code module from the set of source code modules;
selecting a first version of the programming language platform from a set of numeric versions of the programming language platform by using the numeric order with the numeric range of versions, wherein the selected first version of the programming language platform is compatible with the source code module; and
compiling the source code module with the selected first version of the programming language platform.
0 Assignments
0 Petitions
Accused Products
Abstract
The disclosed embodiments provide a system that facilitates the development and compilation of a software program. During operation, the system obtains a set of compilation units to be used in the software program and a version order associated with a programming language of the compilation units. Next, for each compilation unit from the set of compilation units, the system uses the version order to select a version of the programming language that is compatible with the compilation unit. The system then uses the version to compile the compilation unit.
83 Citations
16 Claims
-
1. A method, comprising:
-
at a computer system, obtaining; a set of source code modules to be used in a software program; a numeric range of versions for a programming language platform with which a compiler may compile, wherein the numeric range of versions may comprise supplemental alphanumeric characters, and wherein a version of the programming language platform outside of the numeric range of versions cannot be used and compiled by the compiler; and ordering a numeric order between one or more older versions of the programming language platform and one or more newer versions of the programming language platform, wherein one or more versions of the programming language platform are to be used while compiling the source code modules; and for each source code module from the set of source code modules; selecting a first version of the programming language platform from a set of numeric versions of the programming language platform by using the numeric order with the numeric range of versions, wherein the selected first version of the programming language platform is compatible with the source code module; and compiling the source code module with the selected first version of the programming language platform. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A system, comprising:
-
a processor; a memory; a software development kit (SDK) configured to facilitate creation of a set of source code modules to be used in a software program; and a compilation manager that; obtains a numeric order between one or more older versions of a programming language platform and one or more newer versions of the programming language platform, wherein one or more versions of the programming language platform are to be used while compiling the source code modules; and obtains a numeric range of versions for a programming language platform with which the compilation manager may compile, wherein the numeric range of versions may comprise supplemental alphanumeric characters, and wherein a version of the programming language platform outside of the numeric range of versions cannot be used and compiled by the compilation manager; and for each source code module from the set of source code modules, selects a first version of the programming language platform from a set of numeric versions of the programming language platform by using the numeric order with the numeric range of versions, wherein the selected first version of the programming language platform is compatible with the source code module, and compiles the source code module with the selected first version of the programming language platform. - View Dependent Claims (10, 11, 12, 13)
-
-
14. One or more non-transitory computer-readable storage media storing instructions that when executed by a computer cause the computer to perform a method comprising:
-
obtaining a set of source code modules to be used in a software program and a numeric order between older versions of a programming language platform and newer versions of the programming language platform, wherein one or more versions of the programming language platform are to be used while compiling the source code modules; obtaining a numeric range of versions for a programming language platform with which a compiler may compile, wherein the numeric range of versions may comprise supplemental alphanumeric characters, and wherein a version outside of the numeric range of versions cannot be used and compiled by the compiler; and for each source code module from the set of source code modules; selecting a first version of the programming language platform from a set of numeric versions of the programming language platform by using the numeric order with the numeric range of versions, wherein the selected version of the programming language platform is compatible with the source code module; and compiling the source code module with the selected first version of the programming language platform. - View Dependent Claims (15, 16)
-
Specification