Using Languages That You've Built

We build (or use preexisting) languages for the same reasons we build metamodels: to declare the elements of a modeling language so we can build mappings between them. However, construction of a metamodel is only one way to build a language.

The genius of the UML is that it is ecumenical: It allows anyone to use it in any way he or she chooses. A user of the UML has the ability, via the profile mechanism, to add features so that additional meanings can be adduced. Alternatively, you may build a MOF metamodel, either from scratch or by importing the UML metamodel and making incremental variations from that.

A language needs a concrete syntax. One approach is to bend the UML to your will by constructing mappings ...

Get MDA Distilled: Principles of Model-Driven Architecture now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.