Code a language and generate into java, c++ & python
Hello community,
I have a project of a specefic code generator and i want to know from your experience (i am a newby of MPS), i want to write a metaprogram and generate it into different languages, is that possible ?
if so i understood that BaseLanguage generates java by default, is there similar languages for the others ?
thank you
Please sign in to leave a comment.
Hello,
MPS languages support multiple generators. These generators may be run selectively or all at the same time. The topic of generator plans becomes essential for orchestrating multiple generators: https://www.jetbrains.com/help/mps/generation-plan.html
There are currently several base languages available. We maintain a list at https://youtrack.jetbrains.com/articles/MPS-A-13697566 Additionally, you may use the plaintextgen language plugin to generate code in other languages using the textual abstraction.
Best regards
Vaclav