3. Domain Model Definition

Introduction

Chapter 2 introduced the different pieces that must be created to develop a DSL: the domain model, graphical notation and toolbox, explorer and properties window, validation, serialization, and deployment. It also introduced the DSL designer, which the DSL author uses to define the different components of the new language. This chapter describes how to define the domain model and what a domain model means in terms of the generated DSL tool.

Every DSL has a domain model at its core. It defines the concepts represented by the language, their properties, and the relationships between them. All DSL users must be aware of these to some extent, because every element that they create and manipulate while using ...

Get Domain-Specific Development with Visual Studio DSL Tools 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.