Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!caip!rutgers!sri-spam!sri-unix!hplabs!tektronix!uw-beaver!ssc-vax!bcsaic!michaelm From: michaelm@bcsaic.UUCP (michael maxwell) Newsgroups: net.lang.lisp Subject: Re: Franz Lisp compiler problems Message-ID: <708@bcsaic.UUCP> Date: Thu, 2-Oct-86 14:51:41 EDT Article-I.D.: bcsaic.708 Posted: Thu Oct 2 14:51:41 1986 Date-Received: Sat, 4-Oct-86 13:59:13 EDT References: <3542@umcp-cs.UUCP> Reply-To: michaelm@bcsaic.UUCP (michael maxwell) Organization: Boeing Computer Services AI Center, Seattle Lines: 23 Keywords: macros In article <3542@umcp-cs.UUCP> dsn@umcp-cs.UUCP (Dana S. Nau) writes: >I'm trying to get Franz Lisp to compile macros without putting > (declare (macros t)) >in the file being compiled. The reason why I want to do this is that >my code needs to be intelligible to lisps other than just Franz, and >"(declare (macros t))" seems to be pretty Franz-dependent. > >I thought this could be done by invoking the compiler as follows: > liszt -e '(declare (macros t))' foo.l >However, this didn't work--the compiler acted exactly the same as if I had >typed > liszt foo.l > I'm not sure why this didn't work; I do something quite similar, and it works--but then there are lots of versions of Franz (ours is opus 38.91)... What I'd suggest is putting a conditional into the file, like: #+franz (declare (macros t)) We use exactly this, and it works (in our opus!). The documentation is in section 8.3.4.1 of our manual. This also exists in Common Lisp. -- Mike Maxwell Boeing Advanced Technology Center ...uw-beaver!uw-june!bcsaic!michaelm