Skip to content

specificlanguages/sample-generating-c

Repository files navigation

Generating C

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.

Implementation

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published