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 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.