Computer program product containing instructions for providing a processor the capability of executing an application derived from a compiled form
First Claim
Patent Images
1. A method of programming a device having a memory anda processor, the method comprising the steps of:
- inputting an application program in a first programming language;
compiling the application program in the first programming language into a first intermediate code associated with the first programming language wherein the first intermediate code is interpretable by a first intermediate code virtual machine;
converting the first intermediate code into a second intermediate code by performing at least one operation to replace a construct in the first intermediate code with an equivalent construct in the second intermediate code, wherein the second intermediate code is interpretable by the second intermediate code virtual machine by renumbering a byte code for the first virtual machine with a value corresponding to the byte code in the second virtual machine; and
loading the second intermediate code into the memory of the device.
0 Assignments
0 Petitions
Accused Products
Abstract
An integrated circuit card is used with a terminal. The integrated circuit card includes a memory that stores an interpreter and an application that has a high level programming language format. A processor of the card is configured to use the interpreter to interpret the application for execution and to use a communicator of the card to communicate with the terminal.
84 Citations
54 Claims
-
1. A method of programming a device having a memory and
a processor, the method comprising the steps of: -
inputting an application program in a first programming language; compiling the application program in the first programming language into a first intermediate code associated with the first programming language wherein the first intermediate code is interpretable by a first intermediate code virtual machine; converting the first intermediate code into a second intermediate code by performing at least one operation to replace a construct in the first intermediate code with an equivalent construct in the second intermediate code, wherein the second intermediate code is interpretable by the second intermediate code virtual machine by renumbering a byte code for the first virtual machine with a value corresponding to the byte code in the second virtual machine; and loading the second intermediate code into the memory of the device. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27)
-
-
28. An electronic device, comprising:
-
a memory and a processor connected to the memory; the memory storing; a second intermediate code virtual machine configured to interpret applications in a converted form; and an application for the device obtained by; a compiler operable to compile an application program in a first programming language into a first intermediate code associated with the first programming language wherein the first intermediate code is interpretable by at least one first intermediate code virtual machine; and a converter operable to convert the first intermediate code into a second intermediate code by performing at least one operation to replace a construct in the first intermediate code with an equivalent construct in the second intermediate code by renumbering a byte code for the first virtual machine with a value corresponding to the byte code in the second virtual machine, wherein the second intermediate code is interpretable by a second intermediate code virtual machine. - View Dependent Claims (29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54)
-
Specification