Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "ATL/User Guide"

< ATL
m (ATL/User Manual moved to ATL/User Guide: renamed to synchronize with other guides)
Line 1: Line 1:
This page is a work in progress. It will contain the ATL User Manual.
+
= Introduction =
  
In a first step, the [http://www.eclipse.org/m2m/atl/doc/ATL_User_Manual%5Bv0.7%5D.pdf current ATL User Manual] (in PDF) is going to be translated into a wiki version. Then, the wiki version will be improved (e.g., by adding sections for new features).
+
= An Introduction to Model Transformation =
  
__TOC__
+
== The Model-Driven Architecture ==
  
==[[ATL/User Manual/Introduction|Introduction]]==
+
== Model Transformation ==
==[[ATL/User Manual/An Introduction to Model Transformation|An Introduction to Model Transformation]]==
+
# The Model-Driven Architecture
+
# Model Transformation
+
  
==[[ATL/User Manual/Overview of the Atlas Transformation Language|Overview of the Atlas Transformation Language]]==
+
= Overview of the Atlas Transformation Language =
# ATL module
+
## Structure of an ATL module
+
### Header section
+
### Import section
+
### Helpers
+
### Rules
+
## Module execution modes
+
### Normal execution mode
+
### Refining execution mode
+
## Module execution semantics
+
### Default mode execution semantics
+
### Refining mode execution semantics
+
# ATL Query
+
##Structure of an ATL query
+
## Query execution semantics
+
# ATL Library
+
  
==[[ATL/User Manual/The ATL Language|The ATL Language]]==
+
== ATL module ==
# Data types
+
## OclType operations
+
## OclAny operations
+
## The ATL Module data type
+
## Primitive data types
+
### Boolean data type operations
+
### String data type operations
+
### Numerical data type operations
+
### Examples
+
## Collection data types
+
### Operations on collections
+
### Sequence data type operations
+
### Set data type operations
+
### OrderedSet data type operations
+
### Bag data type operations
+
### Iterating over collections
+
### Examples
+
## Enumeration data types
+
## Tuple data type
+
## Map data type
+
## Model element data type
+
### Examples
+
# ATL Comments
+
# OCL Declarative Expressions
+
## If expression
+
## Let expression
+
## Other expressions
+
## Expressions tips & tricks
+
# ATL Helpers
+
## Helpers
+
## Attributes
+
## Limitations
+
# ATL Rules
+
## ATL imperative code
+
### The assignment statement
+
### The if statement
+
### The for statement
+
### Current limitations
+
## Matched Rules
+
### Source pattern
+
### Local variables section
+
### Simple target pattern element
+
### Iterative target pattern element
+
### Imperative block section
+
## Called Rules
+
# ATL Queries
+
# ATL Keywords
+
# ATL Tips & Tricks
+
  
==[[ATL/User Manual/The ATL Tools|The ATL Tools]]==
+
=== Structure of an ATL module ===
# Installation
+
## Installing ATL
+
## Installing AM3
+
### Installing AM3 from binaries
+
### Installing AM3 from sources
+
# Perspectives
+
## ATL perspective
+
### Navigator
+
### Editors
+
### Outline
+
### Problems
+
### Properties
+
### Error Log
+
### Console
+
## ATL Debug perspective
+
### Debug
+
### Variables
+
### Breakpoints
+
### Editors
+
### Outline
+
### Console
+
### Tasks
+
## AM3 perspective
+
# Programming ATL
+
## Creating an ATL project
+
## Designing metamodels with KM3
+
## Creating an ATL file
+
### The ATL File Wizard
+
### Creating an ATL file from scratch
+
## Compiling an ATL file
+
## Setting up an ATL run launch configuration
+
### The ATL Configuration tab
+
### The Model Choice tab
+
### The Common tab
+
## Running an ATL launch configuration
+
# Debugging ATL
+
## Managing breakpoints
+
### Setting/Removing breakpoints
+
### Activating/Deactivating breakpoints
+
### Limitations
+
## Creating an ATL Debug launch configuration
+
## Running an ATL Debug launch configuration
+
## Debugging actions
+
## Displaying variables values
+
  
==[[ATL/User Manual/Additional ATL Resources|Additional ATL Resources]]==
+
==== Header section ====
  
==[[ATL/User Manual/Conclusion|Conclusion]]==
+
==== Import section ====
  
==[[ATL/User Manual/References|References]]==
+
==== Helpers ====
  
==Appendix A - The MMAuthor metamodel==
+
==== Rules ====
  
==Appendix B - The MMPerson metamodel==
+
=== Module execution modes ===
  
==Appendix C - The Biblio metamodel==
+
==== Normal execution mode ====
  
==Appendix D - The Table metamodel==
+
==== Refining execution mode ====
 +
 
 +
=== Module execution semantics ===
 +
 
 +
==== Default mode execution semantics ====
 +
 
 +
==== Refining mode execution semantics ====
 +
 
 +
== ATL Query ==
 +
 
 +
=== Structure of an ATL query ===
 +
 
 +
=== Query execution semantics ===
 +
 
 +
== ATL Library ==
 +
 
 +
= The ATL Language =
 +
 
 +
== Data types ==
 +
 
 +
=== OclType operations ===
 +
 
 +
=== OclAny operations ===
 +
 
 +
=== The ATL Module data type ===
 +
 
 +
=== Primitive data types ===
 +
 
 +
==== Boolean data type operations ====
 +
 
 +
==== String data type operations ====
 +
 
 +
==== Numerical data type operations ====
 +
 
 +
==== Examples ====
 +
 
 +
=== Collection data types ===
 +
 
 +
==== Operations on collections ====
 +
 
 +
==== Sequence data type operations ====
 +
 
 +
==== Set data type operations ====
 +
 
 +
==== OrderedSet data type operations ====
 +
 
 +
==== Bag data type operations ====
 +
 
 +
==== Iterating over collections ====
 +
 
 +
==== Examples ====
 +
 
 +
=== Enumeration data types ===
 +
 
 +
=== Tuple data type ===
 +
 
 +
=== Map data type ===
 +
 
 +
=== Model element data type ===
 +
 
 +
==== Examples ====
 +
 
 +
== ATL Comments ==
 +
 
 +
== OCL Declarative Expressions ==
 +
 
 +
=== If expression ===
 +
 
 +
=== Let expression ===
 +
 
 +
=== Other expressions ===
 +
 
 +
=== Expressions tips & tricks ===
 +
 
 +
== ATL Helpers ==
 +
 
 +
=== Helpers ===
 +
 
 +
=== Attributes ===
 +
 
 +
=== Limitations ===
 +
 
 +
== ATL Rules ==
 +
 
 +
=== ATL imperative code ===
 +
 
 +
==== The assignment statement ====
 +
 
 +
==== The if statement ====
 +
 
 +
==== The for statement ====
 +
 
 +
==== Current limitations ====
 +
 
 +
=== Matched Rules ===
 +
 
 +
==== Source pattern ====
 +
 
 +
==== Local variables section ====
 +
 
 +
==== Simple target pattern element ====
 +
 
 +
==== Iterative target pattern element ====
 +
 
 +
==== Imperative block section ====
 +
 
 +
=== Called Rules ===
 +
 
 +
== ATL Queries ==
 +
 
 +
== ATL Keywords ==
 +
 
 +
== ATL Tips & Tricks ==
 +
 
 +
== The ATL Tools ==
 +
 
 +
== Installation ==
 +
 
 +
== Perspectives ==
 +
 
 +
=== ATL perspective ===
 +
 
 +
==== Navigator ====
 +
 
 +
==== Editors ====
 +
 
 +
==== Outline ====
 +
 
 +
==== Problems ====
 +
 
 +
==== Properties ====
 +
 
 +
==== Error Log ====
 +
 
 +
==== Console ====
 +
 
 +
=== ATL Debug perspective ===
 +
 
 +
==== Debug ====
 +
 
 +
==== Variables ====
 +
 
 +
==== Breakpoints ====
 +
 
 +
==== Editors ====
 +
 
 +
==== Outline ====
 +
 
 +
==== Console ====
 +
 
 +
==== Tasks ====
 +
 
 +
=== AM3 perspective ===
 +
 
 +
== Programming ATL ==
 +
 
 +
=== Creating an ATL project ===
 +
 
 +
=== Designing metamodels with KM3 ===
 +
 
 +
=== Creating an ATL file ===
 +
 
 +
==== The ATL File Wizard ====
 +
 
 +
==== Creating an ATL file from scratch ====
 +
 
 +
=== Compiling an ATL file ===
 +
 
 +
=== Setting up an ATL run launch configuration ===
 +
 
 +
==== The ATL Configuration tab ====
 +
 
 +
==== The Model Choice tab ====
 +
 
 +
==== The Common tab ====
 +
 
 +
=== Running an ATL launch configuration ===
 +
 
 +
== Debugging ATL ==
 +
 
 +
=== Managing breakpoints ===
 +
 
 +
==== Setting/Removing breakpoints ====
 +
 
 +
==== Activating/Deactivating breakpoints ====
 +
 
 +
==== Limitations ====
 +
 
 +
=== Creating an ATL Debug launch configuration ===
 +
 
 +
=== Running an ATL Debug launch configuration ===
 +
 
 +
=== Debugging actions ===
 +
 
 +
=== Displaying variables values ===
 +
 
 +
= Additional ATL Resources =
 +
 
 +
= Conclusion =
 +
 
 +
= References =
 +
 
 +
= Appendix A - The MMAuthor metamodel =
 +
 
 +
= Appendix B - The MMPerson metamodel =
 +
 
 +
= Appendix C - The Biblio metamodel =
 +
 
 +
= Appendix D - The Table metamodel =

Revision as of 09:22, 13 January 2009

Contents

Introduction

An Introduction to Model Transformation

The Model-Driven Architecture

Model Transformation

Overview of the Atlas Transformation Language

ATL module

Structure of an ATL module

Header section

Import section

Helpers

Rules

Module execution modes

Normal execution mode

Refining execution mode

Module execution semantics

Default mode execution semantics

Refining mode execution semantics

ATL Query

Structure of an ATL query

Query execution semantics

ATL Library

The ATL Language

Data types

OclType operations

OclAny operations

The ATL Module data type

Primitive data types

Boolean data type operations

String data type operations

Numerical data type operations

Examples

Collection data types

Operations on collections

Sequence data type operations

Set data type operations

OrderedSet data type operations

Bag data type operations

Iterating over collections

Examples

Enumeration data types

Tuple data type

Map data type

Model element data type

Examples

ATL Comments

OCL Declarative Expressions

If expression

Let expression

Other expressions

Expressions tips & tricks

ATL Helpers

Helpers

Attributes

Limitations

ATL Rules

ATL imperative code

The assignment statement

The if statement

The for statement

Current limitations

Matched Rules

Source pattern

Local variables section

Simple target pattern element

Iterative target pattern element

Imperative block section

Called Rules

ATL Queries

ATL Keywords

ATL Tips & Tricks

The ATL Tools

Installation

Perspectives

ATL perspective

Navigator

Editors

Outline

Problems

Properties

Error Log

Console

ATL Debug perspective

Debug

Variables

Breakpoints

Editors

Outline

Console

Tasks

AM3 perspective

Programming ATL

Creating an ATL project

Designing metamodels with KM3

Creating an ATL file

The ATL File Wizard

Creating an ATL file from scratch

Compiling an ATL file

Setting up an ATL run launch configuration

The ATL Configuration tab

The Model Choice tab

The Common tab

Running an ATL launch configuration

Debugging ATL

Managing breakpoints

Setting/Removing breakpoints

Activating/Deactivating breakpoints

Limitations

Creating an ATL Debug launch configuration

Running an ATL Debug launch configuration

Debugging actions

Displaying variables values

Additional ATL Resources

Conclusion

References

Appendix A - The MMAuthor metamodel

Appendix B - The MMPerson metamodel

Appendix C - The Biblio metamodel

Appendix D - The Table metamodel

Back to the top