Making a precompiler to perform repetitive tasks such as for loops or copying data