I'm looking an ability to specify a generic parameter to a concept.
I'm implementing some YAML-based DSL. YAML allows to include any part of its content from the separate file and I'd like to implement this in MPS editor as well.
Here is my sample.
Root concept has a child "documentation". It's target may be either inline documentation or included documentation. Inline documentation has a body, included documentation has a reference to a documentation file. Documentation file is also root concept, that has documentation body as its child.
I'd like to parametrize concepts Inline, Include and File with DocumentationBody to reuse for another root's child.
Is it possible?