>How do I make classes and functions that I've written available to
>other programs and libraries in common lisp?
If I created some classes and functions and put them
in a file called new.lisp, and if I had a program called
myprog.lisp which needed to use functions and classes
from new.lisp, then I could put the following line at the
top of myprog.lisp:
(load "new.lisp")
For an introduction to Common Lisp, try this book:
http://www.gigamonkeys.com/book/
Loading files is discussed in chapter 2.
···········@gmail.com wrote:
> ah, so I've been going about it the wrong way, thank you.
>
Were you trying to link them in? Jes curious what the other approach was.
kenny
I was trying to call file A as a package of symbols.
From: Thomas A. Russ
Subject: Re: making classes and functions available to other programs and libraries.
Date:
Message-ID: <ymir776h4j8.fsf@sevak.isi.edu>
············@gmail.com" <···········@gmail.com> writes:
>
> How do I make classes and functions that I've written available to
> other programs and libraries in common lisp?
Assuming you mean other Common Lisp programs, you just load in the
compiled (or even source) files. Then they are available.
--
Thomas A. Russ, USC/Information Sciences Institute