Search found 4 matches

by SideEffects
Fri Aug 28, 2009 5:35 am
Forum: Common Lisp
Topic: Simple explanation of packages?
Replies: 11
Views: 13875

Re: Simple explanation of packages?

Thank you Dave, that is the best explanation I've read yet. Until now I hadn't really understood the relationship between LOAD and packages. I had assumed that the IN-PACKAGE was somehow doing the loading, or that asdf was needed to load packages. I don't think this is made clear in Siebel's book ei...
by SideEffects
Thu Aug 27, 2009 2:11 pm
Forum: Common Lisp
Topic: Simple explanation of packages?
Replies: 11
Views: 13875

Re: Simple explanation of packages?

Usually compiling, loading and file dependencies are dealt with using a system definition facility like ASDF. There is a short introduction of Common Lisp project organization here.
I guess ASDF is the piece I'm missing here. Groan, why does this have to be so complicated?
by SideEffects
Thu Aug 27, 2009 1:50 pm
Forum: Common Lisp
Topic: Simple explanation of packages?
Replies: 11
Views: 13875

Re: Simple explanation of packages?

Okay, first you need to understand that unlike say Java or other languages, packages have nothing to do with directory structure. You can put all your source files into a single directory and use a million different packages. Or you can put your source code into a million different directories and ...
by SideEffects
Wed Aug 26, 2009 2:35 pm
Forum: Common Lisp
Topic: Simple explanation of packages?
Replies: 11
Views: 13875

Simple explanation of packages?

Hi everyone, I'm new here so I hope I'm not asking something that has been answered before. I'm trying to figure out how to use Common Lisp packages, in a very simple way. Let's say I have code in 3 directories ~/a, ~/b and ~/c. The code in ~/a and ~/b wants to use a shared "library" of fu...