|c to Pascal translators? bdc2@po.CWRU.Edu (1998-02-18)|
|Re: c to Pascal translators? email@example.com (1998-02-20)|
|Re: c to Pascal translators? firstname.lastname@example.org (Geert Bosch) (1998-02-20)|
|Re: c to Pascal translators? email@example.com (Peter D Baylies) (1998-02-20)|
|Re: c to Pascal translators? firstname.lastname@example.org (Tony Curtis) (1998-02-20)|
|Re: c to Pascal translators? email@example.com (1998-03-03)|
|Re: c to Pascal translators? firstname.lastname@example.org (Bret D Weinraub) (1998-03-05)|
|Re: c to Pascal translators? email@example.com (Ray Dillinger) (1998-03-06)|
|[6 later articles]|
|From:||firstname.lastname@example.org (A Johnstone)|
|Date:||20 Feb 1998 17:55:15 -0500|
|Organization:||Royal Holloway, University of London|
|Keywords:||C, Pascal, translator|
Boris D. Cahan (bdc2@po.CWRU.Edu) wrote:
: I am desperately seeking a C to Pascal translator, preferably source
: code, I found some OLD postings in the 89 and 90 archives, but wasn't
: able to follow up on any.
Can't be done, in general. In particular function pointers in C have
no analogue in standard Pascal because there is no such thing as a
procedure variable in Pascal. Wirth did add procedure variables to
Modula-2, and Turbo Pascal has them as well. Lot sof other aspects of
C, such as the ... ? ... : ... if operator and the passing of
strcutured objects to prodcedures would be pretty hard too.
Dr Adrian Johnstone, Senior Lecturer in Computing, Computer Science Dep,
Royal Holloway, University of London, Egham, Surrey, TW20 0EX, England.
Email email@example.com Tel:+44(0)1784 443425 Fax:+44(0)1784 439786
Return to the
Search the comp.compilers archives again.