From b008c0ea4a8eb6c34b32142809783c7b16c228a1 Mon Sep 17 00:00:00 2001 From: Wladimir Safonov Date: Wed, 4 Dec 2024 18:58:48 +0100 Subject: [PATCH] genfacade: use InterpretedPlanProvider instead of RigidPlanBuilder (to support new Transform steps) * RigidPlanBuilder doesn't have support for executing multiple transform entries (langs) in one single gen plan step. RegularPlanBuilder supports this and is now retrieved using InterpretedPlanProvider. --- CHANGELOG.md | 8 ++ .../models/com/mbeddr/platform/build.mps | 15 --- .../com.mbeddr.mpsutil.generatorfacade.msd | 8 +- .../mpsutil/generatorfacade/runtime.mps | 98 +++++++++---------- 4 files changed, 54 insertions(+), 75 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index acf2d62ddf3..860e642068c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file. The format is _loosely_ based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). The project does _not_ follow Semantic Versioning and the changes are simply documented in reverse chronological order, grouped by calendar month. +# December 2024 + +## com.mbeddr.mpsutil + +### Fixed + +- Updated `GeneratorFacade` helper class to support execution of genplans with Transform steps that have multiple entries (migrated from the old, deprecated languages list) which have to be executed all together in one single generation step. + # November 2024 ## com.mbeddr.mpsutil diff --git a/code/languages/com.mbeddr.build/solutions/com.mbeddr.platform/models/com/mbeddr/platform/build.mps b/code/languages/com.mbeddr.build/solutions/com.mbeddr.platform/models/com/mbeddr/platform/build.mps index cd316b989e0..dab70c29fad 100644 --- a/code/languages/com.mbeddr.build/solutions/com.mbeddr.platform/models/com/mbeddr/platform/build.mps +++ b/code/languages/com.mbeddr.build/solutions/com.mbeddr.platform/models/com/mbeddr/platform/build.mps @@ -19410,21 +19410,6 @@ - - - - - - - - - - - - - - - diff --git a/code/languages/com.mbeddr.mpsutil/solutions/com.mbeddr.mpsutil.generatorfacade/com.mbeddr.mpsutil.generatorfacade.msd b/code/languages/com.mbeddr.mpsutil/solutions/com.mbeddr.mpsutil.generatorfacade/com.mbeddr.mpsutil.generatorfacade.msd index 64b7d12bc32..fa26409488f 100644 --- a/code/languages/com.mbeddr.mpsutil/solutions/com.mbeddr.mpsutil.generatorfacade/com.mbeddr.mpsutil.generatorfacade.msd +++ b/code/languages/com.mbeddr.mpsutil/solutions/com.mbeddr.mpsutil.generatorfacade/com.mbeddr.mpsutil.generatorfacade.msd @@ -1,7 +1,7 @@ - + @@ -14,10 +14,7 @@ 6354ebe7-c22a-4a0f-ac54-50b52ab9b065(JDK) 3f233e7f-b8a6-46d2-a57f-795d56775243(Annotations) 6ed54515-acc8-4d1e-a16c-9fd6cfe951ea(MPS.Core) - 742f6602-5a2f-4313-aa6e-ae1cd4ffdc61(MPS.Platform) 498d89d2-c2e9-11e2-ad49-6cf049e62fe5(MPS.IDEA) - 1ed103c3-3aa6-49b7-9c21-6765ee11f224(MPS.Editor) - 5fa23c0a-216d-4571-a163-e286643e6f5f(jetbrains.mps.generator) 8865b7a8-5271-43d3-884c-6fd1d9cfdd34(MPS.OpenAPI) 7ab1a6fa-0a11-4b95-9e48-75f363d6cb00(jetbrains.mps.lang.generator.plan) 215c4c45-ba99-49f5-9ab7-4b6901a63cfd(MPS.Generator) @@ -41,13 +38,10 @@ - - - diff --git a/code/languages/com.mbeddr.mpsutil/solutions/com.mbeddr.mpsutil.generatorfacade/models/com/mbeddr/mpsutil/generatorfacade/runtime.mps b/code/languages/com.mbeddr.mpsutil/solutions/com.mbeddr.mpsutil.generatorfacade/models/com/mbeddr/mpsutil/generatorfacade/runtime.mps index 2b83ef1923e..ee8653c4759 100644 --- a/code/languages/com.mbeddr.mpsutil/solutions/com.mbeddr.mpsutil.generatorfacade/models/com/mbeddr/mpsutil/generatorfacade/runtime.mps +++ b/code/languages/com.mbeddr.mpsutil/solutions/com.mbeddr.mpsutil.generatorfacade/models/com/mbeddr/mpsutil/generatorfacade/runtime.mps @@ -8,7 +8,6 @@ - @@ -18,7 +17,6 @@ - @@ -71,6 +69,9 @@ + + + @@ -120,6 +121,9 @@ + + + @@ -153,6 +157,7 @@ + @@ -427,51 +432,35 @@ - - - - - - - - - - + + + + + + + + + + + - + - - - - - - - - - - - - - - - + + + + + + + + + + + - - - - - - - - - - - - - @@ -482,24 +471,27 @@ - - - + + + - - - - - - - - - + + + + + + + + + + + +