The ATL editor has been improved with a code formatter which enables the Ctrl+Shift+F on ATL transformation files. For instance, the following excerpt:

+

+

[[Image:ATL_unformatted_helper.png]]

+

+

Is formatted to give the following result:

+

+

[[Image:ATL_formatted_helper.png]]

+

+

The formatter constants are parametrizable via a preference page.

+

+

[[Image:ATL_formatter_settings.png]]

+

+

= New Refining mode =

+

+

The ATL2010 compiler implements an in-place strategy, e.g., the changes are directly performed on the source model without making any copy of the elements. The rules in the transformation only need to specify the values that have changed whereas all the other elements just remain untouched. The transformations in this mode are performed in two steps. In the first step, the transformation engine executes the rules which, as a result, produce a set of changes that are temporally stored. In the second step, this set changes are applied directly on the source model.

+

This compiler enhances the refining capabilities provided by the 2006 compiler, that also implemented an in-place strategy. First of all, it addresses the lacking of deletion support by providing the user an explicit way to specify in the transformation that a matched element has to be removed.

+

+

You can find more details about refining mode [[ATL/User_Guide_-_The_ATL_Language#ATL_Refining_Mode|here]].

Latest revision as of 02:34, 26 August 2011

Indigo Release

ATL Code Formatter

The ATL editor has been improved with a code formatter which enables the Ctrl+Shift+F on ATL transformation files. For instance, the following excerpt:

Is formatted to give the following result:

The formatter constants are parametrizable via a preference page.

New Refining mode

The ATL2010 compiler implements an in-place strategy, e.g., the changes are directly performed on the source model without making any copy of the elements. The rules in the transformation only need to specify the values that have changed whereas all the other elements just remain untouched. The transformations in this mode are performed in two steps. In the first step, the transformation engine executes the rules which, as a result, produce a set of changes that are temporally stored. In the second step, this set changes are applied directly on the source model.
This compiler enhances the refining capabilities provided by the 2006 compiler, that also implemented an in-place strategy. First of all, it addresses the lacking of deletion support by providing the user an explicit way to specify in the transformation that a matched element has to be removed.