Concrete Syntax Definition

How Should I proceed ?

As the LightningVLM.als is given by default, you do not need to bother about the definition of the language constructs. Your only task is to define a mapping between elements of the abstract syntax and those language constructs. To do so, simply create a new functional Alloy module. Functional Alloy modules follow a really rigorous and specific syntax in order to be interpretatble, you should thus refer to this page in order to learn how to write functional alloy modules.

And then ?

Well, once the definition of a transformation is done, you can apply it to any instance currently viewed in the viewer by selecting it in the first check box (see more about verification ) You can then ask the tool to render accordingly the visual language elements present in the resulting transformation instance by selecting "CS with GEF" in the second check box. Note that this visualization can be performed on saved instances as well, and it becomes especially handy during instance edition. (the transformation is applied at each changes)