I won't run that converting utility in the rare cases, when I use
the comma-operator.
And when I show the code to other C-programmers I could still
show them the converted code.
So, who will be the first to write that useful command line utility
converting occurrances of A[x,y] to A[x][y] and int A[n]
to int A[n+1] (or similar)
for the benefit of all C-programmers ?
Who will be the first to write that useful command line utility
converting followups posted through groups.google.com so they include
proper quoting and attributions, so I can stop posting this:
If you want to post a followup via groups.google.com, don't use
the broken "Reply" link at the bottom of the article. Click on
"show options" at the top of the article, then click on the
"Reply" at the bottom of the article headers.
The answer to your question is probably "nobody". That's not just
because it's a bad idea; it's because, as far as I can tell, there's
no real demand for such a thing other than you.
If you really want this thing implemented, you'll need at least two
things.
First, you'll need a rigorous specification of what you want,
including how it's going to handle corner cases. You can say that it
will refuse to translate certain things, or that it's undefined
behavior, but you should cover all the cases explicitly. This will
require a fairly thorough knowledge of C. Since you've expressed an
unwillingness to obtain such knowledge, you'll need some help with
this.
Second, you'll need to motivate someone who has sufficient time and
expertise to work on this. Since I doubt that anyone who has the
ability to do this would be interested in working on it for its own
sake (though I could easily be mistaken on that point), the most
effective motivator is likely to be money, probably a lot of it. I
don't know whether you're in a position to provide this motivation.
You'll have to spend some time working with whoever agrees to do this
for you, and you'll have to spend some additional time waiting for it
to be completed. I'm not going to try to estimate how much time.
I suggest that learning to use C as it exists is likely to take less
of your time, and none of anyone else's time, and little or no money.
What you do is, of course, entirely up to you, but that's my advice.
<OT>
You might also consider looking at C++. It implements operator
overloading and has a large runtime library called the STL; it may be
possible to do what you're looking for within the language. If you
have any questions about C++, comp.lang.c++ is down the hall on the
left (though you should consider studying the language on your own
before you start asking questions).
</OT>