Model To Text (M2T)

The Model to Text (M2T) project focuses on the generation of textual artifacts from models. Its purpose is threefold:

  1. Provide implementations of industry standard and defacto Eclipse standard model-to-text engines
  2. Provide exemplary development tools for these languages
  3. Provide common infrastructure for this languages.

The next release of M2T is scheduled for the end of June 2008.

Validation (Incubation) PhaseAcceleo

Acceleo is a pragmatic implementation of the Object Management Group (OMG) MOF Model to Text Language (MTL) standard.

You do not need to be an expert to start using the plug-ins and create your first code generator : using the provided example projects and the powerful completion feature of the Acceleo editor, it is very easy to get started once you understand the basic principles.

More information is available on the wiki page for Acceleo.

Acceleo.org was created 4 years ago, and as the time goes, the Team has been more and more convinced that the MOF Model To Text OMG specification was the way to go for the project. We started to code a reference implementation for the standard within the Eclipse M2T project. We have managed to provide nice tooling, simple syntax and efficient code generation with all the pragmatism we had about Acceleo.org. There aren't a lot of differences between the old version of acceleo and the new one.

For Acceleo lover, you will find in Eclipse Acceleo everything you have loved in the Acceleo.org version and more. This specification is really a good one http://www.omg.org/spec/MOFM2T/1.0/

At the moment, those who need a perfect stability must continue to use the Acceleo.org version (2.x). As time goes on, Eclipse Acceleo is better and better and you can already have a try right now (0.8 and 0.9). That said, we still need some few month to get the same stability level between our current stable version and the new one. The next generation Acceleo will be ready for the next Eclipse simultaneous release (Helios). For Helios, this is the first time we plan to graduate under Eclipse. We also plan to grow the version number from 0.9.0 to 3.0.0 because the last release of Acceleo outside of Eclipse was the 2.6.0 version (Acceleo.org)

Validation (Incubation) PhaseJET

The JET component provides code generation framework & facilities that are used by EMF. JSP-like template files can be edited and transformed into any kind of source artifact including java, html, properties or xml files in a very simple way.

Validation (Incubation) PhaseXpand

Xpand is a statically-typed template language featuring

  • polymorphic template invocation,
  • aspect oriented programming,
  • functional extensions,
  • a flexible type system abstraction,
  • model transformation,
  • model validation and much more

It includes an editor which provides features like

  • syntax coloring,
  • error highlighting,
  • navigation,
  • refactoring and
  • code completion.

Xpand was originally developed as part of openArchitectureWare project before it became a component under eclipse.

Validation (Incubation) PhaseM2T Core

M2T Core is an invocation framework allowing clients to invoke model-to-text solutions independently of the model-to-text language.

Validation (Incubation) PhaseM2T Shared

M2T Shared consists of infrastructure components shareable between different model-to-text languages.

Incubation

Some components are currently in their Validation (Incubation) Phase.

News

Jun 7th, 2007 - EMFT JET Editor merged into M2T JET. Downloads available.

Apr 26th, 2007 - EMFT JET component moved to M2T. Downloads available.

Apr 20th, 2007 - M2T website launched!

Build Feeds Build News

New! Nov 10th - ACCELEO stable build 0.9.0M3 is available for download.

Sep 29th - ACCELEO integration build 0.9.0M2 is available for download.

Sep 16th - ACCELEO 0.8.1 has been released! Get it here.

Sep 9th - ACCELEO integration build I200909090909 is available for download.

Modeling Corner

Want to contribute models, projects, files, ideas, utilities, or code to M2T or any other part of the Modeling Project? Now you can!

Have a look, post your comments, submit a link, or just read what others have written. Details here.