MPS is very interesting product, with greate future, but the documentation is poor. I tried to create simple language for describing entities. The syntax is simple:
property id : Long
property name : String
property anotherEntity : AnotherEntity
I created two concepts: 'Entity' and 'Property' with property 'type'. The 'type' can be some Java type or reference to another entity. How to check the value of the property 'type'? I read the documentation but I didn't understand how to create the type system is this case. Perhaps, I should use a separate concept for a type, not a property of concept?