Chapter 4. Developing a DSL Graphical Notation

In many cases, a domain-specific language (DSL) can be represented using graphical notation. Of course, not every DSL has such an application, nor is it the case that all aspects of a single DSL can be sensibly represented in a graphical manner; a combination of graphical and textual could be the best solution. This chapter explores the capabilities of the Graphical Modeling Framework (GMF) project, first covering some basics of designing a graphical notation.

4.1 Design Considerations

You must consider many things when selecting a graphical concrete syntax (notation) for a DSL, including scalability, information density, and semantic interpretation of your notation. You can find many examples, ...

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.