System and method for compiling and executing a computer program written in more than one programming language
First Claim
1. A system for compiling and executing a program, the program including a first program division written in a first programming language and a second program division written in a second programming language, the system using an operating system for managing modules by using identifiers and for controlling execution of the modules and comprising:
- (a) a program processor including;
(i) means for compiling the program to produce, from said first program division and said second program division, a first module and a second module, and for obtaining an identifier assigned by the operating system to the first module, and(iii) means for registering the second module by using the identifier assigned by the operating system to the first module; and
(b) a program executor including;
(i) means for executing said first module,(ii) means for retrieving the registered second module by using the identifier assigned to said first module while executing said first module, and(iii) means for executing said second module.
1 Assignment
0 Petitions
Accused Products
Abstract
A program processing system for processing a program including a first program division written in a first programming language and a second program division written in a second programming language comprises an operating system 100, a program processor 200 for compiling the first and second program divisions to produce first and second modules, and registering the second module by using an identifier assigned by the operating system when the first module is registered, and a program executor 300 for retrieving the second module by using the identifier assigned to the first module and executing the second module while executing the first module. This obviates generation of unnecessary identifiers and simplifies system configuration.
127 Citations
19 Claims
-
1. A system for compiling and executing a program, the program including a first program division written in a first programming language and a second program division written in a second programming language, the system using an operating system for managing modules by using identifiers and for controlling execution of the modules and comprising:
-
(a) a program processor including; (i) means for compiling the program to produce, from said first program division and said second program division, a first module and a second module, and for obtaining an identifier assigned by the operating system to the first module, and (iii) means for registering the second module by using the identifier assigned by the operating system to the first module; and (b) a program executor including; (i) means for executing said first module, (ii) means for retrieving the registered second module by using the identifier assigned to said first module while executing said first module, and (iii) means for executing said second module.
-
-
2. A system for compiling a computer program having a first program division written in a first programming language and a second program division written in a second programming language, the system using an operating system which manages modules using identifiers and comprising:
-
means for compiling the program to produce from said first program division and said second program division a first module and a second module, the first module having an identifier assigned by the operating system, and means for registering the second module by using the identifier assigned by the operating system to the first module.
-
-
3. A system for executing first and second program modules obtained from a program having a first program division written in a first programming language and a second program division written in a second programming language, the first module having an identifier assigned by an operating system which executes said first module, the second module being assigned an identifier which is dependent upon the identifier of the first module, the system including:
-
means for executing said first module; means for retrieving the registered second module by using the identifier assigned to said second module, and means for executing said second module.
-
-
4. A system for compiling a source program including a first program division written in a first programming language and a second program division written in a second programming language, comprising:
-
means for compiling said second program division to produce a second module, means for providing said first program division with reference information for referencing said second module by using a part of the identifier assigned to a first module obtained by compiling the first program division; means for compiling said first program division to produce the first module, and for obtaining the identifier to the first module from an operating system; means for registering said second module so that said second module can be referenced by using the identifier assigned to said first module.
-
-
5. A system for compiling and executing a program including a first program division written in a first programming language and a second program division written in a second programming language, comprising:
-
means for compiling said first program division to produce a module, means for holding said second program division in the module; and means for executing said module, and means for converting said second program division into an executable format while executing said module.
-
-
6. A system for compiling a program including a first program division written in a first programming language and a second program division written in a second programming language, comprising:
-
means for compiling the second program division to create a program module, means for editing the program so as to replace the second program division with a unique identifier to the program module, means for appending the program with a third program division written in the first programming language and designated in the first programming language as a constant and representative of the second program division, and means for compiling said edited and appended program to produce an executable module.
-
-
7. A system for compiling a program including a first program division written in a first programming language and a second program division written in a second programming language, comprising:
-
means for appending the program with a third program division written in the first programming language and designated in the first programming language as a constant and representative of the second program division; and means for compiling said first and third program divisions, as a program division in the first programming language, to produce an executable module.
-
-
8. A system for compiling a program including a first program division written in a first programming language and a second program division written in a second programming language, comprising:
-
means for compiling the second program division to obtain a program module; means for replacing the second program division in the program with reference information written in the first programming language and having a first identifier relative to the program; means for compiling the program in the first programming language to obtain a load module to which a second identifier is assigned by an operating system; means for registering the program module by using a third identifier comprising the first and second identifiers.
-
-
9. A method for compiling and executing a program including a first program division written in a first programming language and a second program division written in a second programming language, comprising the steps of:
-
compiling the program to produce from said first program division and said second program division of said program a first module and a second module, obtaining an identifier assigned to the first module by an operating system, registering the second module by using the identifier assigned to the first module; and executing said first module, retrieving the registered second module by using the identifier assigned to said first module while executing said first module, and executing said second module. - View Dependent Claims (10, 11, 12)
-
-
13. A method for compiling a computer program having a first program division written in a first programming language and a second program division written in a second programming language, comprising the steps of:
-
compiling the program to produce from said first program division and said second program division of said program a first module and a second module, obtaining an identifier assigned to the first module by an operating system, and registering the second module by using the identifier assigned to the first module.
-
-
14. A method for executing first and second program modules obtained from a program having a first program division written in a first programming language and a second program division written in the second programming language, the first module having an identifier assigned by an operating system which executes said first module, the second module being assigned an identifier which is dependent upon the identifier of the first module, the method comprising the steps of:
-
executing said first module, retrieving the registered second module by using the identifier assigned to said first module by the operating system while executing said first module, and executing said second module.
-
-
15. A method for compiling and editing a source program including a first program division written in a first programming language and a second program division written in a second programming language, comprising the steps of:
-
compiling said second program division to produce a second module, providing said first program division with reference information for referencing said second module, said reference information comprising an identifier assigned by an operating system to a first module obtained by compiling the first program division; compiling said first program division to produce the first module and to obtain the identifier of the first module, and registering said second module so that said second module can be referenced by using the identifier assigned to said first module by the operating system.
-
-
16. A method for compiling and executing a program including a first program division written in a first programming language and a second program division written in a second programming language, comprising the steps of:
-
compiling said first program division to produce a module, holding said second program division in the module, and executing said module, and converting said second program division into an executable format while executing said module.
-
-
17. A method for comprising a program including a first program division written in a first programming language and a second program division written in a second programming language, comprising the steps of:
-
compiling said second program division to produce a program module, editing the program so as to replace the second program division with a unique identifier to the program module, and appending the program with a third program division written in the first programming language and designated in the first programming language as a constant and representative of the second program division; and compiling the edited and appended program to create an executable module.
-
-
18. A method for compiling a program including a first program division written in a first programming language and a second program division written in a second programming language, comprising the steps of:
-
appending the program with a third program division written in the first programming language and designated in the first programming language as a constant and representative of the second program division; and compiling said first and third program divisions as a program division in the first programming language, to produce a module.
-
-
19. A method for compiling a program including a first program division written in a first programming language and a second program division written in a second programming language, comprising the steps of:
-
compiling the second program division to obtain a program module; replacing the second program division in the program with reference information written in the first programming language and having a first identifier relative to the program; compiling the program in the first programming language to obtain a load module to which a second identifier is assigned by an operating system; registering the program module by using a third identifier comprising the first and second identifiers.
-
Specification