Child pages
  • Model Transformation with Xtend
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Warning

This tutorial is not finished. Don't start working on it yet!

This installment of our little series of tutorials will be all about Xtend, a programming language that looks very similar to Java, but which adds some very convenient features. Xtend code compiles to Java and and was developed using Xtext. In fact, once you gain experience working with Xtend you will probably appreciate the power of Xtext even more.

In this tutorial, we will focus on two particular areas where Xtend excels:

  • Model transformation. You will be using Xtend to transform a given Turing Machine developed for one model of computation into a new Turing Machine for another model of computation. More specifically, we will be removing NONE as a possible head direction, thereby requiring you to add new states and transitions in the transformed Turing Machine.
  • Code generation. You will be using Xtend to generate code for a given Turing Machine model in an arbitrary programming language (except perhaps Brainfuck or Whitespace). The generated program will implement and simulate the Turing Machine without relying on its model.

As in the previous tutorial, we refer you to the Xtend documentation instead of explaining everything in this tutorial.

Exciting stuff, so let's begin.

Model Transformation

TODO: Write this section.

Code Generation

TODO: Write this section.

 

  • No labels