this is a clone of https://code.google.com/a/eclipselabs.org/p/moliz to do code generation based on the xmof vm