1. 2

Harmonic is a tool based on LARA. LARA is an aspect-oriented source code rewriting tool. The simplest use is adding some instrumentation code like in the Harmonic examples. There are also some tutorials for loop unrolling on the main site.

Implementations also exist for MATLAB and Java.

Using a tool like this could give lots of flexibility in how a particular piece of software is operated while keeping the source to the core logic of the application straight-forward and simple.