!tok_numberFunctionNames { // short for function definition for i { // some loop over i if (isInteger(number = tok.get(i)) && empty(tok.get(i+1)) && isIdentifier(id = tok.get(i+2))) pcall { if (eq(number, "0") && eqic(id, "x")) continue; replaceTokens_reTokLater(i, i+3, camelCase(numberToEnglish(parseLong(number))) + firstToUpper(id)); } } reTok_multi; // shortened function call } // I think the above is still clear enough to figure out! // Functions get their "typical arguments" with typical types // and always the same name. It must be possible to automate that! // i goes over any index where the loop body makes any sense // (determinable by looking at the calls to tok.get).