What is the way to have something similar to annotations?

I guess, for a concept one can define a concept property, but how to do that for properties/links?

I need to supply some additional information for properties/links that is useful for custom persistence code, and I don't want to place it in custom persistence code...

E.g. could you suggest how to attach "javadoc"-style information to declarations so that it would be available at generation time /runtime?

1 comment
Permanently deleted user

We are working on mechanism similar to JDK 5.0 annotations. We are going to use it to implement comments in MPS, use it in template editors (now we can edit them in current form, because we have separate editor for templates). I hope it wil be possible to use it in the next build.


Please sign in to leave a comment.