Skip to main content



      Home
Home » Archived » M2M (model-to-model transformation) » [ATL] How to extract an ATL model to an ATL file?
[ATL] How to extract an ATL model to an ATL file? [message #101848] Mon, 16 March 2009 06:10 Go to next message
Eclipse UserFriend
HI,
To do a high order transformation with ATL i need to extract an ATL model
(.ecore) to an ATL file (.atl) so that i can compile it (is it possible to
directly compile the ATL model into .asm ?). I'm using ATL 3.0, i've seen
some examples that use TCS but i think that was with ATL2.x (i'm i right?).

thanks in advance

Skander TURKI
UBS Lab-STICC
Lorient.
Re: [ATL] How to extract an ATL model to an ATL file? [message #101957 is a reply to message #101848] Mon, 16 March 2009 10:05 Go to previous message
Eclipse UserFriend
Skander wrote:
> HI,
> To do a high order transformation with ATL i need to extract an ATL
> model (.ecore) to an ATL file (.atl) so that i can compile it (is it
> possible to directly compile the ATL model into .asm ?). I'm using ATL
> 3.0, i've seen some examples that use TCS but i think that was with
> ATL2.x (i'm i right?).
>
> thanks in advance
>
> Skander TURKI
> UBS Lab-STICC Lorient.
>

Here's an example of how to extract ATL models to text via Ant:
http://ssel.vub.ac.be/viewvc/atl-superimposition-semantics/b uild.xml?revision=7530&view=markup

This example is based on an ATL 2.1.0 snapshot, which includes AM3.

In principle, it's also possible to compile an ATL model into a .asm
file, but you'll have to write your own compiler that skips the parsing
step, based on AtlDefaultCompiler.java. It's normally easier to extract
ATL models to file first, provided you have the ATL Ant tasks available.

Dennis
Previous Topic:[ATL] How can I get all the possible values of an enumeration?
Next Topic:[XMI] XMI parser
Goto Forum:
  


Current Time: Mon Jul 14 22:45:09 EDT 2025

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

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

Back to the top