Chapter 7. Developing Model-to-Text Transformations

Working with domain-specific languages (DSLs) in the form of their abstract syntax, concrete syntax, and Model-to-Model Transformations (M2M) is great, but what we typically want to derive is a working software application, a database schema, or even some documentation from our models. This is where Model-to-Text Transformations (M2T) come into play. We typically generate code in the form of some general-purpose programming language such as Java, or even output HTML from our model instances.

As touched upon in Chapter 6, “Developing Model-to-Model Transformations,” considerations must be made when selecting a transformation technology, both M2M and M2T. Either or both can fulfill your needs, ...

Get Eclipse Modeling Project: A Domain-Specific Language (DSL) Toolkit now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.