Moin,
I am trying to create a DSL in MPS that gets generated to C code.
I already have set up a small example language and now want to write a simple generator that (for now) just needs to take some of the parameters from some of my custom concepts and write them to a .h file. I don't want to use TextGen - although it would be sufficient for this - because later on I want to generate more complex code.
I installed mbeddr all-plugins.zip into my MPS 2018.2.6 installation and can see the dependencies in the MPS IDE, but this is kind of where I am stuck.
The tutorials I found so far on how to continue just show how to open an example application that does not do what I need. The "screencast" section on the mbeddr website has mostly missing video references. The user guide only shows how to write C in a MPS solution.
Generally it seems that most people are focused on using mbeddr in solutions (so writing and extending mbeddr-C) but I intend to use mbeddr to convert a custom DSL into C code.
Do you know of any good resources for learning how to do this?
Is this even possible or did I completely misunderstand the purpose of mbeddr?
Thank you for any help!
Greetings,
Arian