Xref: utzoo comp.lang.pascal:2734 comp.lang.c:24011 comp.sources.wanted:9559 comp.unix.questions:17969 Path: utzoo!attcan!uunet!mcsun!sunic!tut!tukki!sakkinen From: sakkinen@tukki.jyu.fi (Markku Sakkinen) Newsgroups: comp.lang.pascal,comp.lang.c,comp.sources.wanted,comp.unix.questions Subject: Re: There is a pas2c. Is there a c2pas? Message-ID: <2151@tukki.jyu.fi> Date: 26 Nov 89 14:37:26 GMT References: <1486@ertw> <4289@helios.ee.lbl.gov> Reply-To: sakkinen@jytko.jyu.fi (Markku Sakkinen) SAKKINEN@FINJYU.bitnet (alternative) Organization: University of Jyvaskyla, Finland Lines: 22 In article <4289@helios.ee.lbl.gov> antony@lbl-csam.arpa (Antony A. Courtney) writes: > >I highly doubt there is or will ever be a C to Pascal converter. I agree - but not _only_ because of the weakness of Pascal. The semantics of C is so irregular that I doubt the feasibility of a converter from C to _any_ high-level language (I didn't say 'any other' because I classify C as a medium-level language). >Show me pointers to functions in Pascal and maybe I'll start to consider it a >_REAL_ language! :-) All right: any function appearing as a formal parameter of another function or procedure is in effect a pointer to a function; you didn't say it should be a first-class type (or variable). :-) Markku Sakkinen Department of Computer Science University of Jyvaskyla (a's with umlauts) Seminaarinkatu 15 SF-40100 Jyvaskyla (umlauts again) Finland