1. A method for hot-swapping a first code generator, comprising the steps of: while a program using the first code generator is being executed by an execution environment showing a desire to hot-swap the fist code generator by a user; preparing to hot-swap the first code generator by the execution environment; and once preparing is complete, removing the first code generator from the execution environment and introducing a second code generator in the execution environment to replace the first code generator.