🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.lang.lisp
Article #698

Franz Lisp compiler problems

#698
From: Dana S. Nau
Date: Tue, 23 Sep 1986 14:57
21 lines
1345 bytes
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've tried several other approaches as well, but the only thing that has
worked is to do it all from Unix:
	(echo '(declare (macros t))' ; cat foo.l) > bar.l
	liszt bar.l
and that seems like a real kluge.  Can anyone suggest anything better?
-- 

Dana S. Nau,  Comp. Sci. Dept.,  U. of Maryland,  College Park,  MD 20742
dsn@maryland		seismo!umcp-cs!dsn		(301) 454-7932
Technical Details
Message-ID: <3542@umcp-cs.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!umcp-cs!dsn

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!umcp-cs!dsn
From: dsn@umcp-cs.UUCP (Dana S. Nau)
Newsgroups: net.lang.lisp
Subject: Franz Lisp compiler problems
Message-ID: <3542@umcp-cs.UUCP>
Date: Tue, 23-Sep-86 10:57:54 EDT
Article-I.D.: umcp-cs.3542
Posted: Tue Sep 23 10:57:54 1986
Date-Received: Tue, 23-Sep-86 22:40:48 EDT
Organization: Computer Sci. Dept, U of Maryland, College Park, MD
Lines: 21
Keywords: macros