From: Pavel Stupin <grosso@mail.ru>
To: community@altlinux.ru
Subject: Re: [Comm] Запуск LISP-программ
Date: Sun, 18 May 2003 21:34:25 +0800
Message-ID: <20030518213425.6ed33577.grosso@mail.ru> (raw)
In-Reply-To: <20030518102523.GA3475@localhost.localdomain>
____________________________________________________
On Sun, 18 May 2003 13:25:24 +0300
JCU Librarian <collector@jedi.org.ua> wrote:
____________________________________________________
>
> apt-get install sbcl
> sbcl --load <your file.lisp>
>
> SBCL -- это Steel Bank Common Lisp, в отличие от clisp это
> честный компилятор в нативный код.
>
Спасибо что откликнулись! ...
Кстати, вы с этой программой тоже работали?
В общем, поставил sbcl --- теперь при
"sbcl --load load-ideal.lisp" получаю:
_____________________________________________________________
debugger invoked on condition of type SB-KERNEL:SIMPLE-PACKAGE-ERROR:
The name :USER does not designate any package.
...
restarts:
0: [CONTINUE] Continue anyway (skipping to toplevel read/eval/print
loop).
1: [QUIT ] Quit SBCL (calling #'QUIT, killing the process).
(SB-INT:%FIND-PACKAGE-OR-LOSE 1 :USER)[:EXTERNAL]
0] SB-EXT:QUIT
_____________________________________________________________
То есть у меня, видимо, нет этого пакета USER? В начале запускаемого
файла есть такие строки:
_____________________________________________________________
;;; -*- Mode: LISP; Syntax: Common-lisp; Package: USER -*-
(in-package :user)
_____________________________________________________________
Его нужно как-то отдельно доустанавливать?
И когда пытаюсь запустить какие-то функции Ideal, которые описаны в
мануале, то получаю "undefined function" и "undefined variable" (видимо,
потому что нет USER?).
Кстати, как нужно правильно запускать функции в LISP?
В таком виде?: (function_name variable_name)
Спасибо за помощь.
next prev parent reply other threads:[~2003-05-18 13:34 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-05-18 5:05 Pavel Stupin
2003-05-18 10:25 ` JCU Librarian
2003-05-18 13:34 ` Pavel Stupin [this message]
2003-05-18 13:54 ` JCU Librarian
2003-05-19 8:33 ` [Comm] " Vitaly Ostanin
2003-05-19 9:35 ` JCU Librarian
2003-05-19 10:42 ` Vitaly Ostanin
2003-05-19 19:57 ` [Comm] " Maksim Otstavnov
2003-05-19 10:15 ` [Comm] " Alexandr R. Ogurtzoff
2003-05-19 22:58 ` JCU Librarian
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030518213425.6ed33577.grosso@mail.ru \
--to=grosso@mail.ru \
--cc=community@altlinux.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git