20090225_mofscript_xak

  • Uploaded by: Ander Zubizarreta
  • 0
  • 0
  • May 2020
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View 20090225_mofscript_xak as PDF for free.

More details

  • Words: 141
  • Pages: 10
MOFScript Refinement XAK

Ander Zubizarreta 2009-2-25

Revisiting the problem • Goal: – ScXml2Cpp.m2t – ScXml2Ada.m2t

How? • 20090220_Example1_mofscript.pptx

XAK • XAK (pronounced “sack”) is a tool for composing base and refinement documents in XML format • We can have a XML representation of a MOFScript base transformation • We can refine the base transformation with XAK

Steps 1. Convert MOFScript base transformation into a model (XMI file) 2. Write XAK refinement for the XMI file 3. Launch XAK composition 4. Convert the resulting model into a MOFScript transformation

MOFScript 2 Model

MOFScript 2 Model base_T.m2t.model.mofscript

XAK refinement ref-ada.xak.xml

Launching composition • xak -c base_T.m2t.model.mofscript refada.xak.xml -o ada.m2t.model.mofscript • As a result we get ada.m2t.model.mofscript composed MOFScript transformation model

Model 2 MOFScript •

We can execute the resulting model directly or we can convert it into a MOFScript transformation file

Composed transformation

More Documents from "Ander Zubizarreta"