If I try to make a MathObject like:

Formula("(sin + cos)(x)");

I understandably get the error "Function 'cos' is missing its input(s);".

For anyone familiar with the parser, would it be hard to extend the parser so that this kind of thing would be OK? Specifically, could the five arithmetic operations applied to function names be parsed to create a new function that of course needs input?

I don't actually want "(sin + cos)(x)". This came up with parserFunction.pl, where I added "f" and "g", and I'd like "(f+g)(x)" to be understood.