flexible code generator converter