Xref: utzoo comp.lang.c:29254 comp.std.c:3151 Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!umich!samsung!sdd.hp.com!zaphod.mps.ohio-state.edu!brutus.cs.uiuc.edu!ux1.cso.uiuc.edu!csrd.uiuc.edu!sp14.csrd.uiuc.edu!pommerel From: pommerel@sp14.csrd.uiuc.edu (Claude Pommerell) Newsgroups: comp.lang.c,comp.std.c Subject: ANSI C to K&R syntax converter Message-ID: <1990May31.214655.18960@csrd.uiuc.edu> Date: 31 May 90 21:46:55 GMT Sender: usenet@csrd.uiuc.edu (news) Reply-To: pommerel@sp14.csrd.uiuc.edu (Claude Pommerell) Organization: Center for Supercomputing Research and Development Lines: 18 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