1. A program transformation system, comprising: a processor coupled to a memory, the processor configured to execute the following computer-executable components stored in the memory: a code generation component that generates semantically equivalent code in a class-less scripting language from an object-oriented programming language representation of a hierarchy of one or more classes or interfaces and a virtual constructor component that produces a dispatch construct that captures class and/or interface method implementation to facilitate dynamic dispatch.