I don't fully understand these motivations, which is again not to say they are not good - I just don't get them:
1) to implement everything in 1 function (or 2) - it seems like a slightly artificial requirement - one that a user of the feature wouldn't think to ask for.
2) documentation - again, presumably there will be a section on "Integer Maths" (or "math" to make Americans happy). I don't really see why a single function makes this easier unless there's something about the documentation source format that makes it so?
3) to be able to search for "op" or "math" in my code...... I have not found it very useful to search for "+" or '"-" in other languages so why in make? Surely to improve readability you can define functions which do common computations and search for their names?
Regards,
Tim
As for a name for $(cond), we could call it
$(alu ...)
And put arithmetic and logical operations in it :)
I don’t like using $(cond)
Because because I sort of want to option to implement cond like in Scheme.