DSL model
A "DSL model" is a model based on a set of text files written in the Telosys "Domain Specific Language". The Telosys DSL uses a very simple grammar to define entities with their attributes and relationships.
This type of model is the simplest way to define a model from scratch.
A DSL model is composed of a ".model" file and a folder that contains all the entities (e.g. for a model named "foo" : "foo.model" file and "foo_model" folder).
Each entity is defined in a text file having the ".entity" extension (e.g. "Car" is defined in "Car.entity").
Example : model "employees"
1
employees.model (file)
2
employees_model (folder)
3
employees_model / Employee.entity (file)
4
employees_model / Company.entity (file)
5
employees_model / Project.entity (file)
Copied!
Below the main elements of a DSL model:
Last modified 5mo ago
Copy link