Gisle S{lensminde | 31 Jan 2003 01:08
Picon
Picon

Dumping a lisp image in sbcl


The function used in cmucl don't seem to work in sbcl
(extension:save-lisp ..) , and I can't find documentation for
how this works in sbcl. Does someone know how, or know where docs
for this can be found or both?

--
Gisle Sælensminde ( gisle <at> ii.uib.no )

Computer science is no more about computers than astronomy is about telescopes
  - Edsger Dijkstra

-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
Daniel Barlow | 31 Jan 2003 03:37

Re: Dumping a lisp image in sbcl

Gisle S{lensminde <gisle <at> ii.uib.no> writes:

> The function used in cmucl don't seem to work in sbcl
> (extension:save-lisp ..) , and I can't find documentation for
> how this works in sbcl. Does someone know how, or know where docs
> for this can be found or both?

It got renamed: it's now SAVE-LISP-AND-DIE

* (describe 'sb-ext:save-lisp-and-die)

will show you the (fairly comprehensive) doc string

-dan

--

-- 

   http://www.cliki.net/ - Link farm for free CL-on-Unix resources 

-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
Gisle S{lensminde | 31 Jan 2003 11:01
Picon
Picon

Re: Dumping a lisp image in sbcl

On Fri, 31 Jan 2003, Daniel Barlow wrote:

> Gisle S{lensminde <gisle <at> ii.uib.no> writes:
>
> > The function used in cmucl don't seem to work in sbcl
> > (extension:save-lisp ..) , and I can't find documentation for
> > how this works in sbcl. Does someone know how, or know where docs
> > for this can be found or both?
>
> It got renamed: it's now SAVE-LISP-AND-DIE
>
> * (describe 'sb-ext:save-lisp-and-die)
>
> will show you the (fairly comprehensive) doc string
>

Thanks, that helped. Is there any other way of finding the
documentation of implementation specific functions and
packages than reading the source of sbcl?

> -dan
>
>

--

-- 
--
Gisle Sælensminde ( gisle <at> ii.uib.no )

Computer science is no more about computers than astronomy is about telescopes
  - Edsger Dijkstra
(Continue reading)

Raymond Wiker | 31 Jan 2003 11:09
Picon

Re: Dumping a lisp image in sbcl

Gisle S{lensminde writes:
 > On Fri, 31 Jan 2003, Daniel Barlow wrote:
 > 
 > > Gisle S{lensminde <gisle <at> ii.uib.no> writes:
 > >
 > > > The function used in cmucl don't seem to work in sbcl
 > > > (extension:save-lisp ..) , and I can't find documentation for
 > > > how this works in sbcl. Does someone know how, or know where docs
 > > > for this can be found or both?
 > >
 > > It got renamed: it's now SAVE-LISP-AND-DIE
 > >
 > > * (describe 'sb-ext:save-lisp-and-die)
 > >
 > > will show you the (fairly comprehensive) doc string
 > >
 > 
 > Thanks, that helped. Is there any other way of finding the
 > documentation of implementation specific functions and
 > packages than reading the source of sbcl?

        Check the functions #'documentation and #'apropos...

--

-- 
Raymond Wiker                        Mail:  Raymond.Wiker <at> fast.no
Senior Software Engineer             Web:   http://www.fast.no/
Fast Search & Transfer ASA           Phone: +47 23 01 11 60
P.O. Box 1677 Vika                   Fax:   +47 35 54 87 99
NO-0120 Oslo, NORWAY                 Mob:   +47 48 01 11 60

(Continue reading)

Christophe Rhodes | 31 Jan 2003 11:18
Picon
Picon
Favicon

Re: Dumping a lisp image in sbcl

Gisle S{lensminde <gisle <at> ii.uib.no> writes:

> On Fri, 31 Jan 2003, Daniel Barlow wrote:
> 
> > Gisle S{lensminde <gisle <at> ii.uib.no> writes:
> >
> > > The function used in cmucl don't seem to work in sbcl
> > > (extension:save-lisp ..) , and I can't find documentation for
> > > how this works in sbcl. Does someone know how, or know where docs
> > > for this can be found or both?
> >
> > It got renamed: it's now SAVE-LISP-AND-DIE
> >
> > * (describe 'sb-ext:save-lisp-and-die)
> >
> > will show you the (fairly comprehensive) doc string
> 
> Thanks, that helped. Is there any other way of finding the
> documentation of implementation specific functions and
> packages than reading the source of sbcl?

The introspective qualities of lisp are quite strong.  You now know
that SB-EXT names the extension package of SBCL, so to find out all
the public extension symbols, you can do
  * (do-external-symbols (s 'sb-ext) (print s))
which prints out 70-odd symbols.  You can then ask about them; at
random, I'll choose 
  * (describe 'get-bytes-consed)
to get the information
    Return the number of bytes consed since the program began. Typically
(Continue reading)


Gmane