Given that no ones objecting I've decided that a small functional language probably easiest to maintain long term. Only problem would be the provision of a lua interperater on windows, I thinking a syntax like:
Code:
@StartVectorCalc(width,iterationvar,resultvar)
x = iterationvar * 3
resultvar = x + 7
@EndVectorCalc