Transformation to another language
Good afternoon,
I have to create a transformation from a specific DSL to a non java code. Every example in manuals and videos is about how to use MPS to transform languajes to java code, which is very easy because the baseLanguage is java. But I need to transform my language to PlantUML and I can't create templates because keywords are not recognized.
I supose I have to create "something" before to PlantUML code was recognized.
Is there any manual where it is explained how to transform from DSL to a code different from java?
Thanks a lot!
Please sign in to leave a comment.
You have to define your target language in MPS in order to use it as a generation target. Alternatively, you may generate the target language as plain text. Check out https://blog.jetbrains.com/mps/2017/06/plugin-spotlight-generate-python-or-ruby-with-mps-plaintextgen/ for details.
Vaclav