Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » ATL » code genetaion(code generation with ATL)
code genetaion [message #1050228] Fri, 26 April 2013 22:27 Go to next message
hadji ismail is currently offline hadji ismail
Messages: 1
Registered: April 2013
Junior Member
hello, i have question

Embarrassed is that can generate code with ATL? i means transformation model to code !!!

thank's for advence.
Re: code genetaion [message #1051789 is a reply to message #1050228] Mon, 29 April 2013 08:19 Go to previous messageGo to next message
Hugo Bruneliere is currently offline Hugo Bruneliere
Messages: 607
Registered: July 2009
Senior Member
Hello,

ATL is principally a model-to-model transformation technology.
It is possible to write in text files using ATL queries.
However, if you really want to deal with extended code generation, I encourage you to use model-to-text technologies such as Eclipse Acceleo.

Hugo


------------------------------------------
Hugo Bruneliere - R&D Engineer
AtlanMod research team (Inria, EMN & LINA)
Ecole des Mines de Nantes
Nantes - France
------------------------------------------
Re: code genetaion [message #1052977 is a reply to message #1051789] Wed, 01 May 2013 16:58 Go to previous messageGo to next message
Ed Willink is currently offline Ed Willink
Messages: 4093
Registered: July 2009
Senior Member
Hi

However, if the distance between your model and code is non-trivial, you
should use one or more M2Ms such as ATL to get a text-like model so that
the M2T is easy.

Regards

ed Willink


On 29/04/2013 09:19, Hugo Bruneliere wrote:
> Hello,
>
> ATL is principally a model-to-model transformation technology.
> It is possible to write in text files using
> http://wiki.eclipse.org/ATL/User_Guide_-_The_ATL_Language#ATL_Queries.
> However, if you really want to deal with extended code generation, I
> encourage you to use model-to-text technologies such as
> http://www.eclipse.org/acceleo/.
>
> Hugo
Re: code genetaion [message #1053045 is a reply to message #1052977] Thu, 02 May 2013 08:00 Go to previous message
Hugo Bruneliere is currently offline Hugo Bruneliere
Messages: 607
Registered: July 2009
Senior Member
Thanks Ed for this perfect complementary information Smile

Hugo


------------------------------------------
Hugo Bruneliere - R&D Engineer
AtlanMod research team (Inria, EMN & LINA)
Ecole des Mines de Nantes
Nantes - France
------------------------------------------
Previous Topic:[ATL] EMFTVM: PackageNotFoundException: Package with uri not found
Next Topic:ATL PackageNotFoundException .uml metamodel
Goto Forum:
  


Current Time: Wed Oct 22 21:54:49 GMT 2014

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

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