Figure 1.
Architecture
Here is the architecture of the code generator based on IOM.