Child pages
  • Model Transformation with Xtend

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • 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 Machinea simple programming language.
  • Code generation. You will be using Xtend to generate code for a given Turing Machine model of the simple programming language 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.

In essence, you will be following the way compilers generate code: generate an abstract model representation of the program, and turn that representation into actual code.

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

...