Newsgroups: comp.lang.smalltalk
Path: cantaloupe.srv.cs.cmu.edu!rochester!cornellcs!newsstand.cit.cornell.edu!newstand.syr.edu!news.maxwell.syr.edu!www.nntp.primenet.com!nntp.primenet.com!news.sprintlink.net!news-peer.sprintlink.net!howland.erols.net!news.mathworks.com!uunet!in3.uu.net!198.252.177.35!news!not-for-mail
From: Avery Kadison <avery@integral.com>
Subject: Re: Looking for translation help (smalltalk to C++)
Message-ID: <32A8B6DE.5612@integral.com>
Date: Fri, 06 Dec 1996 16:14:22 -0800
References: <5848mm$gsn@gcsin3.geccs.gecm.com> <32A5B7AD.7BD@pobox.com>
Organization: Integral Development Corporation
X-Mailer: Mozilla 3.0 (WinNT; U)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 33

Ranjan Bagchi wrote:
> 
> Elias Biris wrote:
> >
> > Hello,
> >
> > I have recently started learning C++. I have a problem to solve:
> > translate a pice of code from Smalltalk to C++ ...
> >
> > Any hints about how this can be done more automatically ? Do you happen
> > to know of any translation packages out there ?
> >
> > regards
> >
> > Elias
> 
> I'd be interested in an answer to this as well:  It doesn't seem
> to be a trivial mapping, since C++ has notions of scope as it relates
> to variables on the stack which aren't in Smalltalk.  I'd be
> curious if anyone had a way which didn't involve simulating
> the C++ object model.
> 
>         -rj

(Hi Ranjan)

In case you weren't already aware, a free implementation of an
Objective-C converter for ST-80 does exist at the UIUC smalltalk archive
(ftp://st.cs.uiuc.edu/pub/Smalltalk/misc/producer/).

Hope that this is useful...

Avery

