Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » HOTs in Xtend
HOTs in Xtend [message #1835141] Wed, 25 November 2020 14:04 Go to next message
John Doe is currently offline John DoeFriend
Messages: 138
Registered: October 2020
Senior Member
Hi all,

Can XTend be used to write higher order transformations (HOTs)? I have currently used Epsilon ETL to write the transformation rules between a UML Profile model and an XText model. Now I should use higher order transformations. I believe that they will serve me to generate the text. Do you know if this can be done in XTend (cause a lot of people have suggested me to use Xend), and if so do you have any tutorials or examples on how to write HOTs? (especially in XTend).

Thank you!
Re: HOTs in Xtend [message #1835145 is a reply to message #1835141] Wed, 25 November 2020 15:38 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7220
Registered: July 2009
Senior Member
Hi

(It really is time that you do us the courtesy of using your real name; apologies if John Doe is your real name.)

Xtend is layered on Java so there is probably no limit to what you can do with a little/lot-of imagination. However, I don't think that Xtend has tracked the latest Java features such as lambdas so you may be better off using Java directly.

Regards

Ed Willink
Re: HOTs in Xtend [message #1835149 is a reply to message #1835145] Wed, 25 November 2020 16:19 Go to previous message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14026
Registered: July 2009
Senior Member
well, xtend has lambdas and we have extra features that are suitable for model 2 model transformations like create extensions and the with (=>) operator.
but how this makes suitable for HOT no idea.

you may read/hear here on xtend and model 2 model transformations

https://www.youtube.com/watch?v=xKq-lZo0LEs
https://blogs.itemis.com/en/model-transformations-for-mbse-with-cameo-and-xtend


Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/it-services/methods-and-tools/xtext
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Previous Topic:Scope provider adaption
Next Topic:Unit testing - Executing generate code
Goto Forum:
  


Current Time: Thu Jul 29 18:44:32 GMT 2021

Powered by FUDForum. Page generated in 0.01776 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top