Evaluate expression before textgen

Hello,
I have a concept with a child C of concept Expression. I've set the type of C in an interference rule to <int>.
Can I evaluate the expression before using C in textgen?

For example, in textgen it should generate

price: 200
prettyPrint(); instead of

price: 100 + 5 * 20 
prettyPrint();
1 comment
I'm afraid not at the moment, since the corresponding "evaluation-capable" behaviour methods are not implemented by many Expression subconcepts. See https://youtrack.jetbrains.com/issue/MPS-16192
0

Please sign in to leave a comment.