-
Notifications
You must be signed in to change notification settings - Fork 4
Textual DSLs
Sebi1006 edited this page Jun 26, 2021
·
6 revisions
The basic structure is given by the DSLs which were defined specifically for the creation of graphical DSLs.
- Shape - The shape language is needed for the definition of forms of any complexity. This DSL offers different basic forms such as for example, rectangles, ellipses and polygons in any width and depth. An element can be build from any number and combination from the existing basic forms.
- Style - The style language provides the functionality for defining different representations (layouts or design features) for elements. This could be seen similar to cascading style sheets (CSS).
- Diagram - The diagram language is the base DSL, which is sufficient for very simple domain-specific graphical editors. It defines the mapping of simple shapes, styles, and the behavior of elements to metamodel classes.
Graphical DSL: Concept - The graphical DSL is also called metamodel. With this DSL the underlying data structure for the later model instance can be defined.