slisson / shadowmodels

Incremental model transformations for JetBrains MPS
2 stars 0 forks source link

Cannot call .type in transformations #164

Closed markusvoelter closed 5 years ago

markusvoelter commented 5 years ago

Sascha suspects generator ordering issue.

slisson commented 5 years ago

Running the typesystem on the node adapters of the transformation engine doesn't work. We need to materialise the "transient model" and run the typesystem on that. Making this incremental is another problem. You can't just invoke the typesystem from a transformation, because it would create to many dependencies. We have to incrementally update the materialised transient model so that the typesystem can run incrementally, but we all know how good the incremental typesystem is (you have to press F5 all the time). A full rerun of the typesystem is probably the only reliable solution.