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
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: 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.