next up previous
Next: 4.1 Example DSL Syntax Up: KHEPERA: A System for Previous: 3 Overview of KHEPERA

4 Example

  A simple language translation problem based on [12] will be used to illustrate the KHEPERA system. The DSL is a subset of Fortran 90 with the addition of a sequence comprehension construct that can be used to construct (nested) sequences. The translation problem is to remove all sequence comprehension constructs and replace them with simple data-parallel operations, yielding a program suitable for compilation with a standard Fortran 90 compiler.


Rickard Faith