C expression parenthesiser

arnold at gatech.UUCP arnold at gatech.UUCP
Fri Jul 13 22:28:58 AEST 1984


[Build houses, not condos!]

A friend of mine who is no longer on the net claims that he once saw a
program posted to the net that would read in C code and write it back
out with all expressions fully parenthesised according to the rules of
C operator precedence.

Does anyone remember and/or have that program?  If so, could I get a copy,
or could the author repost it to net.sources?  It would be a useful thing
to have in my wizard's bag of tricks.

Thanks,
-- 
Arnold Robbins
CSNET: arnold at gatech	ARPA:	arnold%gatech.csnet at csnet-relay.arpa
UUCP: { akgua, allegra, ihnp4 }!gatech!arnold

Save the Arithmetic IF!



More information about the Comp.lang.c mailing list