Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [henshin-user] Nested application conditions in Henshin diagrams?

Hi Matthias,

Thanks for your response. 

I thought that the multi-rule levels were meant for this: Place and Token are matched by the same multi-rule (remove), so I thought that would mean it finds only the one match. I thought if I wanted to find the matches separately, I had to use nested multi-rules to loop. When I saw the effect, I did wonder whether that was exactly my misunderstanding. So, is there any way at all to do in Henshin what I want to do?

As for the textual syntax: I don't have this available in the Wizard. Does it come as part of the standard Henshin installation or do I need to get it from somewhere else?

Many thanks,


Dr. rer. nat. Steffen Zschaler AHEA
Senior Lecturer

King's College London
Department of Informatics

Email szschaler@xxxxxxx
Phone +44 (020) 7848 1513

-----Original Message-----
From: henshin-user-bounces@xxxxxxxxxxx [mailto:henshin-user-bounces@xxxxxxxxxxx] On Behalf Of Matthias Tichy
Sent: 02 November 2018 14:32
To: henshin-user@xxxxxxxxxxx
Subject: Re: [henshin-user] Nested application conditions in Henshin diagrams?


Am 23.10.18 um 00:15 schrieb Zschaler, Steffen:
> Thanks, Matthias. I have implemented this for my metamodel and it seems to work. The only strange thing at the moment is that the rule seems to remove all tokens from all input places rather than just one token per place. Clearly, I have a misunderstanding of multi-rules here. Can you help?

Sorry for being late. I think i remember that i was surprised by that as well. But it made sense. I think this is the case, because a multi-rule is applied for all matches; and a rule for a location node and a token node can be applied multiple times for all tokens of the same location (since those are always different matches).

Does this make sense?

> BTW, how does one get the textual syntax?

You should be able to create one using the usual "new"-wizard in eclipse.



Prof. Dr. Matthias Tichy
Institute of Software Engineering and Programming Languages Faculty of Engineering, Computer Science and Psychology Ulm University
89069 Ulm, Germany

Tel.:  +49 731 50-24160
Fax:   +49 731 50-24162
email: matthias.tichy@xxxxxxxxxx

Back to the top