[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gcl-devel] Re: system, load-time-value
From: |
Debian User |
Subject: |
[Gcl-devel] Re: system, load-time-value |
Date: |
Tue, 17 Feb 2004 11:49:01 +0000 |
> > When I tried to load common-lisp-controller.lisp,
> > I found out that LOAD-TIME-VALUE doesn't work in the
>
> Yes, I have a near-complete implementation based on
> ADDRESS and NANI as yet uncommitted pending our release
> of the stable branch as 2.6.2. We need this to fix a
> literal object copying ansi error in 'compile.
>
> Great! It'll be needed for common-lisp-controller to work.
>
So this is required for this functionality?
Apparantly! I looked at the one place it is used, but could
not figure out why it is needed.
(defun load-time-value (obj) obj)
(load "common-lisp-controller.lisp") ; or ~.o instead of ~.lisp
from top-level seems to work both from source code and compiled
code. Of course that is just a plain ugly hack :-) With some
fboundp checking in the top-level is should be enough...
$ apt-get install common-lisp-controller # if you haven't already...
$ grep -C 2 load-time-value
/usr/share/common-lisp/source/common-lisp-controller/common-lisp-controller.lisp
(defvar *fasl-type*
(load-time-value
(pathname-type
(compile-file-pathname "foo.lisp")))
Obviously it has to do with compile-file-pathname, but I still
don't see the cause behind it.
I may have some time the forthcoming weekend to implement and
test it.
Yours,
Dennis Decker Jensen
- [Gcl-devel] system, load-time-value, Debian User, 2004/02/06
- [Gcl-devel] Re: system, load-time-value, Camm Maguire, 2004/02/11
- [Gcl-devel] Re: system, load-time-value, Debian User, 2004/02/13
- [Gcl-devel] Re: system, load-time-value, Camm Maguire, 2004/02/13
- RE: [Gcl-devel] Re: system, load-time-value, Mike Thomas, 2004/02/16
- [Gcl-devel] packages & exported symbols (was: system, load-time-value), Debian User, 2004/02/16
- Re: [Gcl-devel] packages & exported symbols (was: system, load-time-value), Camm Maguire, 2004/02/16
- Re: [Gcl-devel] Re: system, load-time-value, Camm Maguire, 2004/02/16
- [Gcl-devel] Re: system, load-time-value,
Debian User <=
- Re: [Gcl-devel] Re: system, load-time-value, Camm Maguire, 2004/02/17
- Re: [Gcl-devel] Re: system, load-time-value, Michael Koehne, 2004/02/17
- Re: [Gcl-devel] Re: system, load-time-value, Dennis Decker Jensen, 2004/02/17
- Re: [Gcl-devel] Re: system, load-time-value, Michael Koehne, 2004/02/17
[Gcl-devel] SGC and file I/O, Camm Maguire, 2004/02/11
[Gcl-devel] Runtime SGC fault address recovery tests, Camm Maguire, 2004/02/11