How to enforce usage of concept instances from other languages

Hi,

I my new language I want to enforce the usage of C language artefacts (mbeddr base language).
e.g. I want to enforce the usage of enum myTypes and C-function noOf() in my language
enum myTypes {
  eMyTypeA;
  eMyTypeB;
}
uint8 noOf(myTypes type) {
  return 0;
} noOf (function)

1. I would like to predefine above type + function as part of my language, by using the C-base language of mbeddr.
2. In my new language I want to enforce the usage of this elements.

How can I cover this with MPS ?

Please sign in to leave a comment.