Xtext Tip: How to use fully qualified names in your language
Xtext allows to easily add support for fully qualified names in your language. The full code for this example can be found here.
The basic block language
To illustrate this feature I will use a simple language to represent blocks. Each block has a name and can contain three members:
- Fields, which are basically a name,
- Blocks, which are blocks contained in another block
- Aliases, which allow to give another name to another member
This is an example of our block language:
Continue Reading

