A method and system for processing statements of a first language embedded
in a program having statements of a second language are described in
various embodiments. Statements of the first and second languages are
compiled into an executable program, the executable program including
original executable instructions associated with the statements of the
first language. The executable program is executed, and during execution,
recompilation conditions are detected for statements of the first
language. In response to the recompilation conditions, selected statements
of the first language are recompiled, during execution of the executable
program, into new executable instructions. The new executable instructions
are respectively associated with the selected statements and are executed
in place of the original executable instructions.