Re: c to Pascal translators?

Joachim Durchholz <joachim.durchholz@munich.netsurf.de>
12 Mar 1998 23:12:49 -0500

          From comp.compilers

Related articles
[4 earlier articles]
Re: c to Pascal translators? ssu95atc@reading.ac.uk (Tony Curtis) (1998-02-20)
Re: c to Pascal translators? derek@knosof.co.uk (1998-03-03)
Re: c to Pascal translators? bweinra@uswest.com (Bret D Weinraub) (1998-03-05)
Re: c to Pascal translators? bear@sonic.net (Ray Dillinger) (1998-03-06)
Re: c to Pascal translators? fpeelo@portablesolutions.com (Frank Peelo) (1998-03-07)
Re: c to Pascal translators? RogerHA@aol.com (RogerHA) (1998-03-08)
Re: c to Pascal translators? joachim.durchholz@munich.netsurf.de (Joachim Durchholz) (1998-03-12)
Re: c to Pascal translators? albaugh@agames.com (1998-03-12)
Re: c to Pascal translators? anton@mips.complang.tuwien.ac.at (1998-03-15)
Re: c to Pascal translators? torbenm@diku.dk (1998-03-18)
| List of all articles for this month |
From: Joachim Durchholz <joachim.durchholz@munich.netsurf.de>
Newsgroups: comp.compilers
Date: 12 Mar 1998 23:12:49 -0500
Organization: Compilers Central
References: 98-02-090 98-02-104 98-03-033 98-03-068
Keywords: C, Pascal, translator

Frank Peelo wrote:
>
> Do you make local variables into a struct, and pass a pointer to that
> when calling p2?


Actually that's what the Display technique from the Dragon book does,
so you're in good company here. (Reference: Aho, Ullman: Principles
of Compiler Design, Addison-Wesley) (Actually it's in slight
disguise. Look at the Activation Record diagram that shows a probable
stack layout.)


Regards,
Joachim
--


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.