Shows how to generate C code from a simple DSL. After checking out the project, run ./gradlew setup, then open in MPS.
The MPS version to use can be found in build.gradle.kts. At the time of this writing, it is 2025.1.
mbeddr C uses a "top-priority" mapping configuration to look for a BuildConfiguration and generate modules referenced by it. If we want our DSL to be free of these concerns, we have to generate the BuildConfiguration and Module instances in a top-priority configuration as well.