ATLAS Transformation Language is a programming language created in 2005.
#1905on PLDB | 19Years Old |
ATL (ATLAS Transformation Language) is a model transformation language and toolkit developed and maintained by OBEO and AtlanMod. It was initiated by the AtlanMod team (previously called ATLAS Group). In the field of Model-Driven Engineering (MDE), ATL provides ways to produce a set of target models from a set of source models. Read more on Wikipedia...
rule TreeNodeRoot2RootElement {
from
rt : MMTree!Node (rt.isTreeNodeRoot())
to
lstRt : MMElementList!RootElement (
name <- rt.name,
elements <- elmLst
),
elmLst : distinct MMElementList!CommonElement foreach(leaf in rt.getAllChildren())(
name <- leaf.name
)
}