Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!nx02.iad01.newshosting.com!newshosting.com!69.16.185.11.MISMATCH!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!postnews.google.com!f39g2000prb.googlegroups.com!not-for-mail From: lewbloch Newsgroups: comp.lang.java.programmer Subject: Re: Passing a Method Name to a Method, Redux Date: Sat, 23 Jul 2011 09:20:17 -0700 (PDT) Organization: http://groups.google.com Lines: 76 Message-ID: <2aca8f06-1dc8-4fff-b7f1-0e35eea32d2f@f39g2000prb.googlegroups.com> References: <3uuf071k5c0b32cdlv31s7p1u6cjn3t11j@4ax.com> <71ph07l246l93uf4umn5tjgp6dtfgnr4a9@4ax.com> <4e28c7a0$0$308$14726298@news.sunsite.dk> <4e2ae67d$0$303$14726298@news.sunsite.dk> NNTP-Posting-Host: 108.89.33.208 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1311438408 4446 127.0.0.1 (23 Jul 2011 16:26:48 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sat, 23 Jul 2011 16:26:48 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: f39g2000prb.googlegroups.com; posting-host=108.89.33.208; posting-account=CP-lKQoAAAAGtB5diOuGlDQk0jIwmH0T User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-Header-Order: ASELCHRU X-HTTP-UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.99 Safari/535.1,gzip(gfe) Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:6463 On Jul 23, 8:19=A0am, Arne Vajh=F8j wrote: > On 7/23/2011 9:19 AM, Martin Gregorie wrote: > > > > > > > > > > > On Fri, 22 Jul 2011 12:35:00 -0700, Gene Wirchenko wrote: > > >> On Thu, 21 Jul 2011 20:43:10 -0400, Arne Vajh=F8j =A0= wrote: > > >>> On 6/27/2011 4:12 PM, Gene Wirchenko wrote: > >>>> On Mon, 27 Jun 2011 03:04:11 -0400, Joshua Cranmer > >>>> =A0 wrote: > > >>>>> On 06/26/2011 11:42 PM, Gene Wirchenko wrote: > >>>>>> =A0 =A0 =A0 =A0 Think simple version of the C preprocessor. > > >>>>> Then why not use the C preprocessor? > > >>>> =A0 =A0 =A0 =A0I could not find one that would run standalone on my = system. > > >>> Almost all C compiler has a way to do only preprocessing. > > >>> GCC, MS, DEC/CPQ/HP etc. has. > > >> =A0 =A0 =A0 I did not want a C compiler. =A0I simply wanted a preproce= ssor. > > > The last C compilers I remember that had separate preprocessors were K&= R, > > so were very old. In these, cc was effectively a shell that invoked the > > preprocessor, the C --> =A0assembler translator, the assembler and the > > linker in turn. Actually, I'm still using one - the standard OS/9 v2.4 = C > > compiler, which dates from 1992 and runs on 68xxx hardware. > > > I don't remember any ANSI C compilers I've used being structured this > > way: certainly I've not seen any version of the GNU compiler or its > > derivatives that aren't a monolithic chunk that includes all compilatio= n > > stages except the linker. AFAICR this also applied to the Borland > > compilers. > > > So, if that's really what you want, go and find a old K&R compiler or i= ts > > source. > > GCC still has a separate executable for preprocessing! > > The driver gcc or g++ calls cpp, cc1 or cc1plus, as and ld. "If you use the -E option, nothing is done except preprocessing. Some of these options make sense only together with -E because they cause the preprocessor output to be unsuitable for actual compilation." Ain't the FM (of "RTFM") a marvel? Amazing what one can learn by reading the documentation! For example, I found out just now that there's a GCC Go! =A72.4 I had not known that. -- Lew