Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #6446

Re: Passing a Method Name to a Method, Redux

From Martin Gregorie <martin@address-in-sig.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: Passing a Method Name to a Method, Redux
Date 2011-07-23 13:19 +0000
Organization UK Free Software Network
Message-ID <j0ehp2$l3l$1@localhost.localdomain> (permalink)
References (4 earlier) <3uuf071k5c0b32cdlv31s7p1u6cjn3t11j@4ax.com> <iu9a1b$8h4$1@dont-email.me> <71ph07l246l93uf4umn5tjgp6dtfgnr4a9@4ax.com> <4e28c7a0$0$308$14726298@news.sunsite.dk> <c5kj27pehob8m91ilr27gq4ndg853j3h56@4ax.com>

Show all headers | View raw


On Fri, 22 Jul 2011 12:35:00 -0700, Gene Wirchenko wrote:

> On Thu, 21 Jul 2011 20:43:10 -0400, Arne Vajhøj <arne@vajhoej.dk> wrote:
> 
>>On 6/27/2011 4:12 PM, Gene Wirchenko wrote:
>>> On Mon, 27 Jun 2011 03:04:11 -0400, Joshua Cranmer
>>> <Pidgeot18@verizon.invalid>  wrote:
>>>
>>>> On 06/26/2011 11:42 PM, Gene Wirchenko wrote:
>>>>>        Think simple version of the C preprocessor.
>>>>
>>>> Then why not use the C preprocessor?
>>>
>>>       I 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.
> 
>      I did not want a C compiler.  I simply wanted a preprocessor.
>
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 --> assembler 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 compilation 
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 its 
source.


-- 
martin@   | Martin Gregorie
gregorie. | Essex, UK
org       |

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Re: Passing a Method Name to a Method, Redux Arne Vajhøj <arne@vajhoej.dk> - 2011-07-21 20:43 -0400
  Re: Passing a Method Name to a Method, Redux Gene Wirchenko <genew@ocis.net> - 2011-07-22 12:35 -0700
    Re: Passing a Method Name to a Method, Redux Patricia Shanahan <pats@acm.org> - 2011-07-22 13:09 -0700
    Re: Passing a Method Name to a Method, Redux lewbloch <lewbloch@gmail.com> - 2011-07-22 13:35 -0700
    Re: Passing a Method Name to a Method, Redux Arne Vajhøj <arne@vajhoej.dk> - 2011-07-22 16:53 -0400
    Re: Passing a Method Name to a Method, Redux Martin Gregorie <martin@address-in-sig.invalid> - 2011-07-23 13:19 +0000
      Re: Passing a Method Name to a Method, Redux Arne Vajhøj <arne@vajhoej.dk> - 2011-07-23 11:19 -0400
        Re: Passing a Method Name to a Method, Redux lewbloch <lewbloch@gmail.com> - 2011-07-23 09:20 -0700
          Re: Passing a Method Name to a Method, Redux Arne Vajhøj <arne@vajhoej.dk> - 2011-07-23 13:33 -0400
            Re: Passing a Method Name to a Method, Redux lewbloch <lewbloch@gmail.com> - 2011-07-23 11:43 -0700
              Re: Passing a Method Name to a Method, Redux lewbloch <lewbloch@gmail.com> - 2011-07-23 12:14 -0700
                Re: Passing a Method Name to a Method, Redux Arne Vajhøj <arne@vajhoej.dk> - 2011-07-23 19:19 -0400
              Re: Passing a Method Name to a Method, Redux Arne Vajhøj <arne@vajhoej.dk> - 2011-07-23 19:12 -0400
        Re: Passing a Method Name to a Method, Redux Martin Gregorie <martin@address-in-sig.invalid> - 2011-07-23 17:24 +0000
          Re: Passing a Method Name to a Method, Redux Arne Vajhøj <arne@vajhoej.dk> - 2011-07-23 19:22 -0400
            Re: Passing a Method Name to a Method, Redux Martin Gregorie <martin@address-in-sig.invalid> - 2011-07-24 10:02 +0000

csiph-web