How to perfom template based generation with input language equals output language

Hey,

In my language there are several statements, whose functionality can be performed by other statements. So I want to replace these statements with different others.
Writing a reduction rule isn't a big deal so far, but my statements contain reference to nodes in my input model. These nodes are not mandatory affected by the first reduction.
Is there an easier way than copy all my nodes and specify mapping labels?
1 comment
I think if you just create reduction rules for those nodes you have to reduce the rest will be copied by MPS automatically..
0

Please sign in to leave a comment.