Newsgroups: comp.lang.lisp
Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sdd.hp.com!think.com!barmar
From: barmar@think.com (Barry Margolin)
Subject: Re: LISP to SCHEME
Message-ID: <1991Jun6.055331.20956@Think.COM>
Sender: news@Think.COM
Reply-To: barmar@think.com
Organization: Thinking Machines Corporation, Cambridge MA, USA
References: <28933@uflorida.cis.ufl.EDU>
Date: Thu, 6 Jun 91 05:53:31 GMT
Lines: 16

In article <28933@uflorida.cis.ufl.EDU> afz@cis.ufl.edu (Aric Zion) writes:
>I am working on a program that will translate 
>Common Lisp to Scheme, so that DEC's Scheme->C
>translator can then convert the Scheme to C.
>I have come up against a couple of problems,
>and I would appreciate some help.

Both problems are due to trying to translate (setf <variable> <expression>)
into (define <variable> <expression>).  I think you would get better
results if you translated it to (set! <variable> <expression>).  DEFVAR,
DEFPARAMETER, and DEFCONSTANT can be translated to DEFINE.
-- 
Barry Margolin, Thinking Machines Corp.

barmar@think.com
{uunet,harvard}!think!barmar
