Multi-flavored software execution from a singular code base
Abstract
Embodiments of the present invention provide a method, system and computer program product for multi-flavored software execution from a singular code base. In an embodiment of the invention, a method for multi-flavored software execution from a singular code base is provided. The method includes receiving a request in an interpreter to interpret a version of source code of a computer program the interpreting transforming the source code into byte code executable by a virtual machine. The method thereafter includes responding to the request by performing in the interpreter source code interpretation only of selected portions of the source code being annotated by tags corresponding to the version.
Claims
exact text as granted — not AI-modified1 .- 10 . (canceled)
11 . A method for multi-flavored software execution from a singular code base, the method comprising:
receiving a request in an interpreter to interpret a version of source code of a computer program the interpreting transforming the source code into byte code executable by a virtual machine; responding to the request by performing in the interpreter source code interpretation only of selected portions of the source code being annotated by tags corresponding to the version, while other portions of the source code in the interpretable programming language that are annotated by different tags corresponding to different versions of the source code are excluded from interpretation into byte code; and, passing the byte code produced during interpretation to the virtual machine for execution.
12 . The method of claim 11 , wherein the interpreter is a PHP hypertext processor interpreter.
13 . The method of claim 11 , wherein the request is received from an end user to execute the version of a multi-version computer program over a communications network.
14 . A data processing system configured for multi-flavored software execution from a singular code base, the system comprising:
a host computing system comprising at least one computer with memory and at least one processor; a virtual machine executing in the memory of the host computing system; an interpreter executing in the virtual machine, the interpreter comprising program code enabled to receive a request in an interpreter to interpret a version of source code of a computer program the interpreting transforming the source code into byte code executable by a virtual machine, to respond to the request by performing in the interpreter source code interpretation only of selected portions of the source code being annotated by tags corresponding to the version, while other portions of the source code in the interpretable programming language that are annotated by different tags corresponding to different versions of the source code are excluded from interpretation into byte code and to pass the byte code produced during interpretation to the virtual machine for execution.
15 . The system of claim 14 , wherein the interpreter is a PHP hypertext processor interpreter.
16 . The system of claim 14 , wherein the request is received from an end user to execute the version of a multi-version computer program over a communications network.
17 . The system of claim 14 , wherein the program code is included as an extension to the interpreter.
18 . A computer program product for multi-flavored software execution from a singular code base, the computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions executable by a device to cause the device to perform a method comprising:
receiving a request in an interpreter to interpret a version of source code of a computer program the interpreting transforming the source code into byte code executable by a virtual machine; responding to the request by performing in the interpreter source code interpretation only of selected portions of the source code being annotated by tags corresponding to the version, while other portions of the source code in the interpretable programming language that are annotated by different tags corresponding to different versions of the source code are excluded from interpretation into byte code; and, passing the byte code produced during interpretation to the virtual machine for execution.
19 . The computer program product of claim 18 , wherein the interpreter is a PHP hypertext processor interpreter.
20 . The computer program product of claim 18 , wherein the request is received from an end user to execute the version of a multi-version computer program over a communications network.Cited by (0)
No later patents cite this yet.
References (0)
No backward citations on record.