E2GEN creates an Genmodel from an Ecore model (as does EMF tools to generate code from a metamodel). For example, when executed on java.ecore, this operation generates the following Genmodel: java.gen.
Source Code
Input metamodel: Ecore.kmt (implements partially the behavior of Ecore)