[comp.lang.c] ANSI C to K&R syntax converter

pommerel@sp14.csrd.uiuc.edu (Claude Pommerell) (06/01/90)

I am looking for a portable converter from ANSI C syntax to
traditional Kernighan&Ritchie syntax.

It should run as a preprocessor to get my ANSI C code portable to
machines where there is no ANSI compiler or where the ANSI compiler's
lacks vectorization or parallelization support.

I am mainly interested to convert parameter lists and to get constants
and enum's converted into #define, or maybe expanded as constants in the
generated C code.

A C++ to C translator would probably do the job, but I don't want to
start porting something to big. A portable YACC or C source would be perfect.

						Claude Pommerell
						pommy@iis.ethz.ch