Make BaseLanguage unavailable in solution

Is it possible to make BaseLanguage unavailable in the solutions but still extending the concepts? For example, I want to use the BasicLanguage types' extensions, and custom StatementLists but I don't want users to be able to use the BaseLanguage primitives, and default ifs.

Comment actions Permalink

Would you be able to make your own "Expression" interface for your language, and then make extension concepts of any baseLanguage concepts you want to include in your language, and likewise implement your custom expression interface?

Comment actions Permalink

Thanks, I'll try it

I'm pretty new to the MPS, I figure the next step would be a constraint, so in the main Concept the user can only use this extended types. Am I having it right!


Please sign in to leave a comment.