Chapter 2. Modeling Project as a DSL Toolkit

To discuss using the Modeling project as a DSL Toolkit, this chapter first covers some of the basics of domain-specific languages, model-driven software development, and the installation of the requisite modeling project components. In the abstract, a DSL Toolkit needs to enable a Toolsmith to define the domain model itself, a diagram, a textual notation, model-to-model transformations, and model-to-text transformations. The Modeling project provides these through the Eclipse Modeling Framework (EMF), Graphical Modeling Framework (GMF), Model-to-Model Transformation (M2M), and Model-to-Text Transformation (M2T), respectively. Used together, they relate as shown in Figure 2-1, with the domain model ...

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.