From: Esteban
Subject: running non-compiled LISP from the command-line?
Date: 
Message-ID: <200F56E019C7EBD0.E6488BC119C519EA.A803445CEA77C73F@lp.airnews.net>
Is it possible to run gnu CLISP from the command line to interpret specified
source code files, execute, and exit?

Thanks for your help.

From: Dowe Keller
Subject: Re: running non-compiled LISP from the command-line?
Date: 
Message-ID: <slrn940oc3.afc.dowe@localhost.localdomain>
On Wed, 20 Dec 2000 00:38:44 -0600, Esteban <····@catfish.net> wrote:
Newsgroups: comp.lang.lisp
Subject: Re: running non-compiled LISP from the command-line?
References: <··················································@lp.airnews.net>
Followup-To: 

On Wed, 20 Dec 2000 00:38:44 -0600, Esteban <····@catfish.net> wrote:
>Is it possible to run gnu CLISP from the command line to interpret specified
>source code files, execute, and exit?
>
>Thanks for your help.

Yes it's possible from UNIX and (I think) on other systems.

You need to prepend something like this to the start of your program files:
#!path to clisp [options]
to the beginning of the file, and chmod 755 the file for it to be executable.
If you have a program with functions spread over several files, just load
them thusly:
(load "foo.lsp")
(load "bar.lsp")

Hope I have been of help.
-- 
····@sierratel.com		http://www.sierratel.com/dowe
---
There is a limit to how stupid people really are -- just as there's a limit
to the amount of hydrogen in the Universe.  There's a lot, but there's a
limit.
		--- David C. Barber
From: Rob Warnock
Subject: Re: running non-compiled LISP from the command-line?
Date: 
Message-ID: <91pru5$d5tk0$1@fido.engr.sgi.com>
Esteban <···············@yahoo.com> wrote:
+---------------
| Is it possible to run gnu CLISP from the command line to interpret specified
| source code files, execute, and exit?
+---------------

Yes, see <URL:http://clisp.cons.org/~haible/documentation/
clisp/doc/impnotes.html#quickstart>, which has various
platform-dependent hints.


-Rob

-----
Rob Warnock, 31-2-510		····@sgi.com
Network Engineering		http://reality.sgi.com/rpw3/
Silicon Graphics, Inc.		Phone: 650-933-1673
1600 Amphitheatre Pkwy.		PP-ASEL-IA
Mountain View, CA  94043
From: Esteban
Subject: Re: running non-compiled LISP from the command-line?
Date: 
Message-ID: <FBC6239B418E344E.993EA30AB925CBA7.39B28F47918C9CE6@lp.airnews.net>
Thanks, everyone, for your help.
From: Janis Dzerins
Subject: Re: running non-compiled LISP from the command-line?
Date: 
Message-ID: <87wvcvwkmu.fsf@asaka.latnet.lv>
"Esteban" <····@catfish.net> writes:

> Is it possible to run gnu CLISP from the command line to interpret specified
> source code files, execute, and exit?

I have seen detailed instructions in its impnotes.html or some other
accompanying doc.

Janis Dzerins
-- 
  If million people say a stupid thing it's still a stupid thing.