MGen

Tools for cross-language data models

View project onGitHub

Summary of functionality

MGen lets you:

  • Define your applications’ data model in one place
  • Generate representations/classes for multiple languages
  • Map binary data and string data (JSON, XML, tables..) directly to objects
  • Map config files directly to objects
  • Map command line arguments directly to objects
  • Map objects between scripting languages and host languages
  • Model driven generic data and object generation (e.g. for testing)
  • Backwards compatibibility with old models
  • Customize serialization through generated visitor methods
  • Combine data model definitions from multiple IDLs
  • Add your own IDL parsers through MGen’s plug-in architecture
  • Add custom code generators through MGen’s plug-in architecture
  • Edit generated code directly, and re-generate!