Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!think.com!mintaka!spdcc!iecc!compilers-sender From: htf@sari.edinburgh.ac.uk (H T Fallside) Newsgroups: comp.compilers Subject: Squashing C Source Keywords: C, optimize Message-ID: <10767.9012051639@subnode.sari.ed.ac.uk> Date: 5 Dec 90 16:39:12 GMT Sender: compilers-sender@iecc.cambridge.ma.us Reply-To: H T Fallside Organization: Compilers Central Lines: 14 Approved: compilers@iecc.cambridge.ma.us I'm after a preprocessor that will do in-line expansion of procedure calls IN SOURCE for C to produce one lovely long main() procedure, something capable of dealing intelligently with parameters and local variables. Anyone out there got any ideas before I start writing ? hamish --------------------- htf@uk.ac.ed.castle [GCC has an "inline" keyword which expands procedures in line, but I haven't seen any source-to-source converters. What do you plan to do about directly or indirectly recursive routines? -John] -- Send compilers articles to compilers@iecc.cambridge.ma.us or {ima | spdcc | world}!iecc!compilers. Meta-mail to compilers-request. Brought to you by Super Global Mega Corp .com