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