Patent ID: 7320121

Claim:
A computer-implemented method for generating machine code to be embedded in a user application said method comprising the steps of: receiving source code generated by the user application; receiving user application exported addresses of code and of data symbols that are used to resolve external references in the source code; wherein the source code includes one or more higher order computer language statements; wherein a generator generates machine code directly into random access memory (RAM) from the received source code; and the generator providing a function pointer to the generated machine code stored in the RAM to the user application so that the user application may access the generated machine code; wherein the user application contains instructions to dynamically create the source code during run-time execution of the user application; wherein the source code dynamically created by the user application during run-time execution is used to generate the machine code accessed via the function pointer; wherein the generated machine code runs in same context as the user application; wherein the generated machine code is embedded in the user application and adds functionality to the user application.